Last active
September 1, 2018 14:10
-
-
Save admhpr/b356640b1b81ba42e897c9812e75375f to your computer and use it in GitHub Desktop.
Remote xdebug vscode
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
{ | |
"version": "0.2.0", | |
"configurations": [{ | |
"name": "Listen for XDebug", | |
"type": "php", | |
"request": "launch", | |
"log": true, | |
"pathMappings": { | |
"<absolute-remote-path>": "<absolute-local-path>" | |
}, | |
"port": 9000 | |
}, | |
{ | |
"name": "Launch currently open script", | |
"type": "php", | |
"request": "launch", | |
"program": "${file}", | |
"cwd": "${fileDirname}", | |
"port": 9000 | |
} | |
] | |
} |
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
[xdebug] | |
zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so | |
xdebug.remote_enable=1 | |
xdebug.remote_handler=dbgp | |
xdebug.remote_autostart=1 | |
# xdebug.remote_host=<ip-of-machine-that-running-the-debugger-> | |
# OR | |
# xdebug.remote_connect_back=1 | |
xdebug.remote_port=9000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment