-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
XDebug Breakpoints Initially Ignored with Visual Studio Code #275
Comments
I'm having the same problem - if I can help by providing any information please let me know. In addition to the issue with breakpoints, not getting anything showing on debug sidebar (variables, call stack etc), even though details are printing to debug console. xdebug support | enabled
|
AHA! Found a thread that referenced the need to use an absolute path to the local directory in the path mappings rather than using ${workspaceRoot}. Modified and restarted webserver to successful session. Halleleujah. I did look before I posted, I swear ;) Good luck @nunorcsousa - maybe this will help? |
The variable ${workspaceRoot} is deprecated in favor of ${workspaceFolder}. See https://code.visualstudio.com/docs/editor/variables-reference#_why-isnt-workspaceroot-documented |
Not working for me. |
PHP version: 7.0.30
XDebug version: 2.6.0
XDebug 2.6.0
VS Code 1.24.04
XAMPP 7.0.30-0
The issue is the Visual Studio Code doesn’t seem to function correctly with XDebug. Any breakpoints added are ignored.
My launch.json:
XDebug php.ini config:
Adapter logfile (from setting
"log": true
in launch.json):The text was updated successfully, but these errors were encountered: