Skip to content

Instantly share code, notes, and snippets.

@ryonagana
Last active October 28, 2019 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryonagana/813034048f5df09f15c8f4440a238725 to your computer and use it in GitHub Desktop.
Save ryonagana/813034048f5df09f15c8f4440a238725 to your computer and use it in GitHub Desktop.
config.ini
[xdebug]
zend_extension=xdebug
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.remote_host=localhost
xdebug.remote_log="/tmp/xdebug.log"
xdebug.remote_connect_back=1
xdebug.remote_handler=dbgp
xdebug.idekey="VSCODE"
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug (Certificados 2)",
"type": "php",
"request": "launch",
"port": 9000,
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
[16429] Log opened at 2019-10-28 14:22:23
[16429] I: Checking remote connect back address.
[16429] I: Checking header 'HTTP_X_FORWARDED_FOR'.
[16429] I: Checking header 'REMOTE_ADDR'.
[16429] I: Remote address found, connecting to 10.0.3.1:9000.
[16429] W: Creating socket for '10.0.3.1:9000', poll success, but error: Operation now in progress (29).
[16429] E: Could not connect to client. :-(
[16429] Log closed at 2019-10-28 14:22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment