-
Notifications
You must be signed in to change notification settings - Fork 57
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
Command with xdebug enabled causes invalid json #189
Comments
@ronilaukkarinen thanks for the workaround 👍 |
@tribal2 No problem, glad you found it useful! |
Another workaround, as at xdebug 3.1, is to ensure it can write to its own log file as defined by |
Thanks for that, Quick and easy fix, works very well for me. |
Phpcs doesn't really need xdebug but will produce error because the command warns for not being able to connect to debugging client. This means vscode-phpcs cannot lint at all despite phpcs is working fine:
Any way to disable xdebug (also asked in PHP_Codesniffer issue) OR add environment variable
XDEBUG_MODE=off
before the executable? We have "solved" this for now with our custom executable script as described here.The text was updated successfully, but these errors were encountered: