I\'m trying to use xdebug against PHP 7.1.6 to troubleshoot a failing unit test in my CakePHP v3.3.6 project. I\'ve set up xdebug using the following settings:
I had this error too. I found that it somehow was related to VS Code, since I had no problems debugging in Sublime.
After a bit of trial and error I found that adding:
"ignore": [
"**/vendor/**/*.php"
]
to my launch.json
fixed the problem. I'm not quite sure about this magic behind, but now I am able to move on.
https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug