Enable remote_autostart on Xdebug configuration for Docker on Linux: Xdebug for Visual Studio Code

Normally is need to use a specific HTTP GET/POST variable to start remote debugging. When this setting is set to true, Xdebug will always attempt to start a remote debugging session and try to connect to  vscode-php-debug plugin client, even if the GET/POST/COOKIE variable was not present.

More information on 
https://xdebug.org/docs/all_settings
https://xdebug.org/docs/remote#browser_session
This commit is contained in:
Alexandre Dória 2020-10-09 12:58:03 -03:00 committed by GitHub
parent 4b23dd6d6d
commit 81f344ee04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ Copy/paste all of the following lines into the above created ``xdebug.ini`` file
xdebug.idekey=VSCODE
; Optional: Set to true to always auto-start xdebug
xdebug.remote_autostart=false
xdebug.remote_autostart=true
.. note:: Host os and editor specific settings are highlighted in yellow and are worth googling to get a better understanding of the tools you use and to be more efficient at troubleshooting.