Issue Summary
Sublime Text cannot connect to xDebug, while it works with almost 0 config in VS Code.
I have the Xdebug Client package installed in ST and configured it per project. With no host
config Client returns an error:
Unable to start Xdebug debugging session.
Configured address (10.0.75.1:9000) is not accessible.
But changing setting it to "host": "localhost",
makes it work or at least not giving any errors.
The problem is with breakpoints as it doesn’t pick them up. The path_mappings
I tried:
"path_mapping": {
# 1st attempt:
"/app/public" : "C:\\Users\\MyName\\www\\website\\app\\public",
# 2nd attempt:
"/app/public" : "C:/Users/MyName/www/website/app/public",
# 3rd attempt, because this is exactly what ABSPATH is set to:
"/app/public" : "C:\\Users\\MyName\\www\\website\\app/public",
},
All the paths needs to be escaped in .sublime-project
file and this is exactly have I have it with project folders config.
Can you share your config if you managed to get it working?
System Details
- Local version: 5.9.8+5191
- OS: Windows 10 Pro