Skip to content

Python debugging not working #18473

Closed
Closed
@LordBroon

Description

@LordBroon

Debugger is not starting. It is just showed and disappear immediately. No error no message. At the same run button work as expected. It worked fine last week.
I have reinstalled python extension but issues still exist.

It is similar to bug raised in: #7927

0 Starting Session:
{
    "name": "Python: File",
    "type": "python",
    "request": "launch",
    "program": "c:\\Data\\t.py",
    "logToFile": true,
    "console": "integratedTerminal",
    "__configurationTarget": 5,
    "python": "C:\\ProgramData\\Anaconda3\\python.exe",
    "debugAdapterPython": "C:\\ProgramData\\Anaconda3\\python.exe",
    "debugLauncherPython": "C:\\ProgramData\\Anaconda3\\python.exe",
    "cwd": "c:\\...\\JupyterNotebookProjects",
    "envFile": "c:\\...\\JupyterNotebookProjects/.env",
    "env": {
        "PYTHONIOENCODING": "UTF-8",
        "PYTHONUNBUFFERED": "1"
    },
    "stopOnEntry": false,
    "showReturnValue": true,
    "internalConsoleOptions": "neverOpen",
    "debugOptions": [
        "ShowReturnValue",
        "FixFilePathCase"
    ],
    "justMyCode": true,
    "workspaceFolder": "c:\\...\JupyterNotebookProjects"
}
20 Client --> Adapter:
{
    "command": "initialize",
    "arguments": {
        "clientID": "vscode",
        "clientName": "Visual Studio Code",
        "adapterID": "python",
        "pathFormat": "path",
        "linesStartAt1": true,
        "columnsStartAt1": true,
        "supportsVariableType": true,
        "supportsVariablePaging": true,
        "supportsRunInTerminalRequest": true,
        "locale": "en-us",
        "supportsProgressReporting": true,
        "supportsInvalidatedEvent": true,
        "supportsMemoryReferences": true
    },
    "type": "request",
    "seq": 1
}
385 Error:
{}
385 Exit:
Exit-Code: 2
Signal: none

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions