Skip to content

Python debugging not working #7927

Closed
Closed

Description

Issue Type: Bug

When I press debug button (or F5) - nothing happened. No Terminal or Debug Console output. Even no errors message. Debug overlay flashes and that's it.

Also shortcut Ctrl+F5 (start without debugging) not working as expected (debug overlay flashes, but file not executed), but when I press "Run Python File in Terminal" button, it works. Am I misunderstanding something? What is the keyboard shortcut for "Run" button, then?

Previously, debugging worked on this computer. Problems started after update. Unfortunately, I have not updated for a long time, therefore I can’t say specifically with which version everything broke.

My launch.json

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Текущий файл",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal"
        }
    ]
}

I don’t know for sure this is an extension bug or VS Code. Please, move the issue to the appropriate place, if nessesary.

Extension version: 2019.10.41019
VS Code version: Code 1.39.1 (88f15d17dca836346e787762685a40bb5cce75a8, 2019-10-10T23:31:28.683Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.89GB (9.39GB free)
Process Argv
Screen Reader no
VM 0%

Activity

  1. ghost added
    triage-neededNeeds assignment to the proper sub-team
    on Oct 11, 2019
  2. changed the title [-]Pythod debug not working[/-] [+]Pythod debugging not working[/+] on Oct 11, 2019
  3. changed the title [-]Pythod debugging not working[/-] [+]Python debugging not working[/+] on Oct 11, 2019
  4. andrew-buckley commented on Oct 11, 2019

    @andrew-buckley

    This has also suddenly started happening on my machine as well. Updated to the latest extension version as of 10 minutes ago.

  5. karthiknadig commented on Oct 11, 2019

    @karthiknadig
    Member

    Andrew Buckley (@andrew-buckley) Mikhail Gribanov (@gmikhail) it is highly likely this issue #7836 . We are working on providing a fix for this. Meanwhile if you need a workaround see here: #7836 (comment)

  6. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Oct 11, 2019
  7. added
    info-neededIssue requires more information from poster
    bugIssue identified by VS Code Team member as probable bug
    on Oct 11, 2019
  8. gmikhail commented on Oct 11, 2019

    @gmikhail
    Author

    Thank you Karthik Nadig (@karthiknadig), workaround works.

  9. karthiknadig commented on Oct 11, 2019

    @karthiknadig
    Member

    Mikhail Gribanov (@gmikhail) Thanks for confirming, closing this since this is tracked via #7836

  10. ghost removed on Oct 11, 2019
  11. locked as resolved and limited conversation to collaborators on Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions