CakePHP command line doesn't work when xdebug loaded

前端 未结 1 885
野的像风
野的像风 2021-01-19 20:53

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:



        
相关标签:
1条回答
  • 2021-01-19 21:24

    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

    0 讨论(0)
提交回复
热议问题