microsoft / vscode

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

VS Code don't focus on PHP Debug Breakpoints #147078

Closed lalmat closed 1 year ago

lalmat commented 2 years ago

Issue Type: Bug

I'm using PHP Debug on VS Code, working in Docker (not Docker Desktop) in Ubuntu 20.04, under WSL2.

When a breakpoint is trigged, VSCode don't popup, I have to come back manually to the VSCode window and click on it to manually set the focus on VS Code. Then I can do debug.

I've seen that there's is a setting : "Debug: Focus Window On Break", but it's checked...

VS Code version: Code 1.66.1 (8dfae7a5cd50421d10cd99cb873990460525a898, 2022-04-06T14:50:12.141Z) OS version: Windows_NT x64 10.0.22000 Restricted Mode: No Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2803)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|31.78GB (16.32GB free)| |Process Argv|--crash-reporter-id 7df591d3-4cdf-444a-ac42-85a83bd6f87b| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-20.04| |OS|Linux x64 5.10.102.1-microsoft-standard-WSL2| |CPUs|11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (4 x 2803)| |Memory (System)|15.63GB (9.65GB free)| |VM|0%|
Extensions (47) Extension|Author (truncated)|Version ---|---|--- vscode-drawio|hed|1.6.4 theme-monokai-pro-vscode|mon|1.1.20 vscode-language-pack-fr|MS-|1.66.2 remote-containers|ms-|0.231.4 remote-wsl|ms-|0.66.0 php-docblocker|nei|2.7.0 phpunit-snippets|one|1.1.0 material-icon-theme|PKi|4.15.0 gruvbox-material|sai|6.5.0 open-in-browser|tec|2.0.0 twig|wha|1.0.2 material-theme|zhu|3.13.20 cucumberautocomplete|ale|2.15.2 laravel-extra-intellisense|ami|0.6.2 markdown-emoji|bie|0.2.1 vscode-intelephense-client|bme|1.8.2 path-intellisense|chr|2.8.0 vscode-ipaddress|Com|1.0.0 vscode-eslint|dba|2.2.2 gitlens|eam|12.0.5 vscode-phpmd|eco|1.3.0 EditorConfig|Edi|0.16.4 prettier-vscode|esb|9.5.0 terminal|for|0.0.10 vscode-drawio|hed|1.6.4 vs-color-picker|lih|1.0.0 theme-monokai-pro-vscode|mon|1.1.20 vscode-docker|ms-|1.21.0 vscode-language-pack-fr|MS-|1.66.2 hexeditor|ms-|1.9.5 vsliveshare|ms-|1.0.5449 vsliveshare-audio|ms-|0.1.91 vsliveshare-pack|ms-|0.4.0 php-docblocker|nei|2.7.0 vetur|oct|0.35.0 phpunit-snippets|one|1.1.0 material-icon-theme|PKi|4.15.0 nbsp-vscode|pos|0.0.1 markdown-preview-enhanced|shd|0.6.2 vscode-table-formatter|shu|1.2.1 markdowntable|Tak|0.9.1 pdf|tom|1.2.0 twig|wha|1.0.2 vscode-import-cost|wix|3.1.0 better-align|wwm|1.1.6 php-debug|xde|1.24.0 markdown-pdf|yza|1.4.4 (7 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyl392:30443607 pythontb:30283811 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 pythonvsnew555:30457759 vscscmwlcmt:30465135 cppdebugcf:30466690 vscaat:30438848 pynewfile477:30463512 ```
lalmat commented 2 years ago

I've tried to reinitialize the Setting but it doesn't work...

roblourens commented 1 year ago

Is this still an issue? If so, in the windows taskbar does the vscode icon turn orange or whatever it does when some app is trying to gain attention...

vscodenpa commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!