Created
January 17, 2018 15:12
-
-
Save erickpatrick/c3a2cf1decc42604d906bae5bbc1e369 to your computer and use it in GitHub Desktop.
Configuration for xDebug with Homestead
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
zend_extension=xdebug.so | |
xdebug.remote_autostart=1 | |
xdebug.remote_host=10.0.2.2 // same as the one showed when vagrant ssh "last log in from" | |
xdebug.remote_enable = 1 | |
xdebug.remote_log=/home/vagrant/output.txt | |
xdebug.remote_handler=dbgp | |
xdebug.collect_params=1 | |
xdebug.show_local_vars=1 | |
xdebug.remote_port = 9000 | |
xdebug.max_nesting_level = 512 | |
xdebug.idekey=PHPSTORM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://confluence.jetbrains.com/display/PhpStorm/Remote+debugging+in+PhpStorm+via+SSH+tunnel
check setting up ssh tunnel section