PHP Xdebug
最后更新于
最后更新于
zend_extension=xdebug.so
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9001
export PYTHONPATH=$PYTHONPATH:`pwd`/python3lib:`pwd`/pythonlib
./pydbgpproxy -d 127.0.0.1:9001 -i 0.0.0.0:9005{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for DBGp Proxy",
"type": "php",
"request": "launch",
"pathMappings": {
"/data/www/test": "${workspaceFolder}"
},
"proxy": {
"enable": true,
"host": "10.8.0.1",
"port": 9005,
"key": "zhxlp"
}
}
]