Skip to content
Advertisement

Cannot set breakpoints on Visual Studio Code

I’m not sure what happens, I can’t set breakpoints on php files, but I can do so on javascript files. I’ve been using vs code with php for months without a problem, I haven’t changed anything, but today it is not possible to set breakpoints on the side. However I can start the debug mode.

Advertisement

Answer

There’s an issue with the latest VS Code & the PHP Debug extension.

As a workaround, you can set the option in VS Code “Allow Breakpoints Everywhere”

https://github.com/microsoft/vscode/issues/112288#issuecomment-743456329

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement