Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable remote_autostart as default on Xdebug configuration #734

Merged
merged 2 commits into from
Nov 12, 2020
Merged

Enable remote_autostart as default on Xdebug configuration #734

merged 2 commits into from
Nov 12, 2020

Conversation

alexandredoria
Copy link
Contributor

@alexandredoria alexandredoria commented Oct 9, 2020

Fix #733

Goal

Activate the Xdebug Step Debugging automatically after start debugging (on Visual Studio Code installed on any Linux OS) and refresh the browser page.

DESCRIPTION

According to the XDebug documentation

boolean xdebug.remote_autostart = false
Normally you need to a HTTP GET/POST variable to start remote debugging (see Step Debugging). When this setting is set to 1, Xdebug will always attempt to start a remote debugging session and try to connect to a client, even if the GET/POST/COOKIE variable was not present.

See my issue Xdebug doesn't work when configured for Visual Studio Code (on Linux)

More information on
https://xdebug.org/docs/all_settings
https://xdebug.org/docs/remote#browser_session

…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
@alexandredoria alexandredoria changed the title Enable remote_autostart on Xdebug configuration Enable remote_autostart as default on Xdebug configuration Oct 9, 2020
@alexandredoria
Copy link
Contributor Author

How can I proceed to resolve this PHP8 checks?

@cytopia cytopia merged commit 4fb0d55 into cytopia:master Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Xdebug doesn't work when configured for Visual Studio Code (on Linux)
2 participants