Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 940 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 940 Bytes

Digital Workspace

A Wagtail-based intranet for the Department for Business & Trade.

Project documentation is available here.

Setup DebugPy

Add environment variable in your .env file

DEBUGPY_ENABLED=True

Create launch.json file inside .vscode directory

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Remote Attach (DebugPy)",
            "type": "debugpy",
            "request": "attach",
            "connect": {
                "host": "localhost",
                "port": 5678
            },
            "pathMappings": [
                {
                    "localRoot": "${workspaceFolder}",
                    "remoteRoot": "/app/"
                }
            ],
            "justMyCode": true
        }
    ]
}