Xdebug not working
I followed your instructions and ran
bin/xdebug enable
My launch.json looks like the below example
https://github.com/markshust/docker-magento/blob/master/compose/magento-2/.vscode/launch.json
Getting the following error in debug console
Error applying xdebugSettings: invalid or missing options
It is also not stopping on breakpoint .
Quick Fix: Remove xdebugSettings: { ... } from launch.json
@cernydav Thanks for that suggestion as it removed the error. The issue is that even when running debug it does stop on breakpoints. What am I doing wrong?
I had a similar problem and spent too much time trouble shooting. My problem was that my "Page Cache" was enabled.
System -> Cache Management
Select the "Page Cache" row in the Cache Type table and select "disable" in the drop down on the top to disable the "Page Cache".
After I disabled the "Page Cache" everything was working as intended.
closing this one out, as it appears to be working for other people. @shuat i'm only intricately familiar with phpstorm, but perhaps someone can help you with this.