SublimeDebugger icon indicating copy to clipboard operation
SublimeDebugger copied to clipboard

django always stop in manage.py

Open aztrock opened this issue 4 years ago • 1 comments

When run debugger with django, in the second step, always stop in manage.py, in server http: serve_forever and never out of there, if i change justMyCode: true, the debugger never finish and the controls are disabled

image

this is the config:

    "debugger_configurations" : [
        {
            "name" : "Debugger",
            "request" : "launch",
            "type" : "python",
            "program": "${folder}/manage.py",
            "django": true,
            "args": [
              "runserver",
              "0.0.0.0:8000",
              "--noreload"
            ],
            "env": {
                "DEBUG": "1"
            },
            "python": "/home/aztrock/Workspace/env/bin/python",
            // "console": "integratedTerminal",
            // "console": "externalTerminal",
            "justMyCode": false,
            "showReturnValue": true,
            // "gevent": true
        }
    ]

aztrock avatar Jan 03 '22 14:01 aztrock

This sounds more like an issue with the adapter https://github.com/microsoft/debugpy assuming vscode has the same behavior

daveleroy avatar Jan 04 '22 08:01 daveleroy