microsoft / vscode

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

Cannot debug python file #199989

Closed Irisisi closed 9 months ago

Irisisi commented 9 months ago

Type: Bug

Hi, I ran 'Run' -> Start Debugging, but it didn't work. I don't know what to do now. Please help

VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:50:47.800Z) OS version: Linux x64 6.2.0-37-generic snap Modes: Remote OS version: Linux x64 3.10.0-1160.88.1.el7.x86_64

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 800)| |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
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|2, 1, 1| |Memory (System)|31.08GB (19.12GB free)| |Process Argv|--no-sandbox --force-user-env --unity-launch --crash-reporter-id d04e0b03-4ec3-493b-9ed6-4cbdc0071f3c| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|ubuntu| |XDG_CURRENT_DESKTOP|Unity| |XDG_SESSION_DESKTOP|ubuntu| |XDG_SESSION_TYPE|x11| |Item|Value| |---|---| |Remote|SSH: eddie| |OS|Linux x64 3.10.0-1160.88.1.el7.x86_64| |CPUs|Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (16 x 1234)| |Memory (System)|62.54GB (49.47GB free)| |VM|0%|
Extensions (56) Extension|Author (truncated)|Version ---|---|--- project-manager|ale|12.7.0 python-snippets|cst|0.1.2 vscode-dash|dee|2.4.0 vsc-python-indent|Kev|1.18.0 jupyter-keymap|ms-|1.1.2 remote-containers|ms-|0.321.0 remote-ssh|ms-|0.107.1 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.81.8 vscode-remote-extensionpack|ms-|0.25.0 remote-explorer|ms-|0.4.1 remote-server|ms-|1.5.0 gitlab|Red|0.2.0 vscode-djaneiro|the|1.4.2 python-extended-snippets|tus|0.0.1 vim|vsc|1.27.1 jinja|who|0.0.8 project-manager|ale|12.7.0 arepl|alm|2.0.5 vscode-django|bat|1.14.0 gitignore|cod|0.9.0 python-snippets|cst|0.1.2 python-extensions-pack|dem|1.0.2 python-preview|don|0.0.4 git-extension-pack|don|0.1.3 githistory|don|0.6.20 gitlens|eam|14.5.0 vscode-test-explorer|hbe|2.21.1 python-resource-monitor|kai|0.2.2 vsc-python-indent|Kev|1.18.0 vscode-python-test-adapter|lit|0.8.1 git-graph|mhu|1.30.0 document|min|2.2.1 black-formatter|ms-|2023.6.0 python|ms-|2023.20.0 vscode-pylance|ms-|2023.11.10 jupyter|ms-|2023.10.1100000000 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-powertoys|ms-|0.0.8 vscode-jupyter-slideshow|ms-|0.1.5 test-adapter-converter|ms-|0.1.8 autodocstring|njp|0.6.1 vscode-python-typehint|njq|1.5.1 indent-rainbow|ode|8.3.1 databricks-vscode|pai|2.2.3 vscode-data-table|Ran|1.14.0 sourcery|sou|1.14.0 code-spell-checker|str|3.0.1 vscode-djaneiro|the|1.4.2 wolf|tra|0.4.3 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.2.30 livecode|xir|1.3.10 vscode-open-in-github|ziy|1.3.6
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263:30899288 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 282f8724:30602487 89544117:30613380 a9j8j154:30646983 showlangstatbar:30737416 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 welcomedialogc:30910334 pythonnosmt12:30797651 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 dsvsc013:30795093 dsvsc014:30804076 dsvsc015:30845448 pythontestfixt:30902429 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:30885898 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 aa_t_chat:30882232 ```
VSCodeTriageBot commented 9 months ago

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.

Happy Coding!