Gitpod: Python debugger

Created on 30 Nov 2018  路  5Comments  路  Source: gitpod-io/gitpod

Given that you have a Django app as one of the demos, it'd be amazing to be able to debug it.

Some extra info, in case this is useful for thinking ahead:

I tried adding the standard launch config from vscode-python to launch.json, and (correctly) got a warning that python isn't a supported type because there's no debugger extension for it, but it also complained about console: none and, obviously, the django key:

        {
            "name": "Django",
            "type": "python",
            "request": "launch",
            "program": "${workspaceFolder}/manage.py",
            "console": "none",
            "args": [
                "runserver",
                "--noreload",
                "--nothreading"
            ],
            "django": true
        }
debug language-support python

Most helpful comment

All 5 comments

Yes, the available properties are provided by the debug adapter. So once we hook up the python debug adapter the other warnings will go away, as well.

Debugging python code will work with "console": "internalConsole"

Works great, thanks @jankeromnes & @JesterOrNot!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ColbyWTaylor picture ColbyWTaylor  路  3Comments

mouse484 picture mouse484  路  3Comments

kittaakos picture kittaakos  路  3Comments

Kreyren picture Kreyren  路  3Comments

LezaiNiubi picture LezaiNiubi  路  3Comments