Created
December 20, 2018 19:55
-
-
Save hicarorios/424d853c8f2f87efe13fb718daf0224c to your computer and use it in GitHub Desktop.
Configurar o servidor embutido do PHP com xdebug no PHPStorm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Para acessar a configuração no PHPStorm: ctrl + shift + A -> type: run debug -> Add Configuration -> + -> PHP Built-in Web Server | |
| se você tem um script server.php (para simular o mod_rewrite do apache*, roteador inicial) você deve marcar a opção "Use route script" | |
| em "interpreter options" coloque: -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9000 -dxdebug.remote_host=127.0.0.1 | |
| o resultado será: php -S localhost:8000 -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9000 -dxdebug.remote_host=127.0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment