Hello,

VS Code has serious issues with the PHP Debug. It do not work at all. This is a known issue and more details can be found on my second post at

The PHP debugger is completely not usable. It make my pages load indefinitely until I stop the debug.
The errors are:

  1. Unknow thread ID
  2. No such breakpoint
  3. Command is not available

I found what does not create the error:

  1. It is not the browser. The error persists also on different browsers.
  2. It is not xDebug. The error disappears and everything works well with VS 2017 (same xDebug and XAMPP installation)
  3. It is not the VS Code extensions. I disabled all the extensions and the error persists.
  4. The error persist with both PHP Tools and the original PHP Debug extension for VS Code

I hope some one can help! I'm a client by 5-7 years and if the PHP do not work I can not use this great tool.
Thank you!

    6 days later

    Awesome! You are ridiculous! I pay 200$ a year for your tool and there isn't even a support for 1 answer. Incredible.

      Hi Federico,

      I'm sorry this took a while, we weren't sure why this is happening nor we were able to reproduce. As you've mentioned this never happens in VS.

      I'm suspecting this to be an issue with path mapping in Vs Code. I will try more experiments to see if I'm able to replicate this somehow. It would help a lot if you'd have some test case I can try.

      Thank you so much!

        18 days later

        Xdebug works fine with VS Code.

          Write a Reply...