Vscode-php-debug: Can't add breakpoints after VS Code version: 1.52.0

Created on 11 Dec 2020  路  12Comments  路  Source: xdebug/vscode-php-debug

Few minutes ago and after update VS Code to the Version: 1.52.0 I can't add breakpoints anymore. Previous breakpoints added still working, but I can't add new one.

Most helpful comment

Hello, I fixed this issue temporarily by going to settings.json and adding this line:
"debug.allowBreakpointsEverywhere": true;

All 12 comments

I have the same issue.

Duplicate of #424

Same issue here, I hope it is fixed soon

I added a comment how to fix the issue here https://github.com/felixfbecker/vscode-php-debug/issues/424#issuecomment-743334478

Hello, I fixed this issue temporarily by going to settings.json and adding this line:
"debug.allowBreakpointsEverywhere": true;

Hello, I fixed this issue temporarily by going to settings.json and adding this line:
"debug.allowBreakpointsEverywhere": true;

Without the trailing semicolon

For anyone still searching, I was able to do this in the GUI by going to Settings and clicking specifically on the User settings tab, then search for debug at the top of the window. You should see:
Debug: Allow Breakpoints Everywhere
right at the top of the list. Just enable the checkbox.

Hello, in my case with VSCodium, adding the line : "debug.allowBreakpointsEverywhere": true; permit to add breakpoint but they don't stop.

I can confirm:

  • at WSL2 environment cannot add breakpoint too
  • "debug.allowBreakpointsEverywhere": true helped, now i can add breakpoints

VSCode version: 1.52.0 (system setup)

_I don't have any additional problems like not stopping on breakpoints_

By the way: VSCode team will push workaround for this -> https://github.com/felixfbecker/vscode-php-debug/issues/424#issuecomment-745314437

VS Code 1.52.1 seems to have fixed the issue.

VS Code 1.52.1 seems to have fixed the issue.

Yes! VS Code 1.52.1 fixed the issue with Subj - felixfbecker.php-debug works again, but with Xdebug version >= 3 does not work

I believe this is resolved and should be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrews05 picture andrews05  路  10Comments

mitchellnemitz picture mitchellnemitz  路  11Comments

bilogic picture bilogic  路  7Comments

QwertyZW picture QwertyZW  路  9Comments

Didel picture Didel  路  4Comments