From 81f344ee042669246e91ad22064f671e23d412e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=C3=B3ria?= Date: Fri, 9 Oct 2020 12:58:03 -0300 Subject: [PATCH] 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 --- docs/intermediate/configure-php-xdebug/linux/vscode.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/intermediate/configure-php-xdebug/linux/vscode.rst b/docs/intermediate/configure-php-xdebug/linux/vscode.rst index 2ffd3c0c..2b1860d0 100644 --- a/docs/intermediate/configure-php-xdebug/linux/vscode.rst +++ b/docs/intermediate/configure-php-xdebug/linux/vscode.rst @@ -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.