microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.96k stars 29.53k forks source link

Cannot add a breakpoint #112472

Closed BenjaminLeseur closed 3 years ago

BenjaminLeseur commented 3 years ago

Issue Type: Bug

Hello,

I cannot add a new breakpoint in a PHP file, breakpoints previously added (in version 1.51.x) work with the debugger.

To reproduce :

Expected result :

VS Code version: Code 1.52.0 (940b5f4bb5fa47866a54529ed759d95d09ee80be, 2020-12-10T22:43:50.597Z) OS version: Linux x64 5.8.0-25-generic

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz (8 x 2428)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|1, 1, 1| |Memory (System)|15.55GB (0.85GB free)| |Process Argv|--no-sandbox --unity-launch --crash-reporter-id 8d57e832-0295-45a4-a2ad-945cc6001c7b| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|ubuntu| |XDG_CURRENT_DESKTOP|Unity| |XDG_SESSION_DESKTOP|ubuntu| |XDG_SESSION_TYPE|x11|
Extensions (11) Extension|Author (truncated)|Version ---|---|--- vscode-eclipse-keybindings|alp|0.12.0 vscode-intelephense-client|bme|1.5.4 xml|Dot|2.5.1 gitlens|eam|11.0.6 EditorConfig|Edi|0.16.4 prettier-vscode|esb|5.8.0 volt-phalcon-language|fbc|1.2.3 php-debug|fel|1.13.0 todo-tree|Gru|0.0.192 phpcs|ika|1.0.5 php-docblocker|nei|2.1.0
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 openlogontheside:30221877 python763:30178808 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 python504:30227505 vswsl492cf:30211402 wsl2prompt:30224612 pythonvsdeb440:30233463 unusedpromptcf:30224611 folderexplorercf:30224615 openfilemenucf:30224648 pythonvsded773cf:30233462 vsjup459:30229593 ```
vscodebot[bot] commented 3 years ago

(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

IvanBernatovic commented 3 years ago

/duplicate of #112288

The issue is the php-debug extension. The extension is not actively maintained anymore and should be updated for it to work. Here's a temp workaround posted in the issue of the extension itself.

gjsjohnmurray commented 3 years ago

/duplicate thanks @IvanBernatovic