A Wagtail-based intranet for the Department for Business & Trade.
Project documentation is available here.
Add environment variable in your .env file
ENABLE_DEBUGPY=True
Create launch.json file inside .vscode directory
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Remote Attach (DebugPy)",
"type": "python",
"request": "attach",
"port": 5678,
"host": "localhost",
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app/"
}
],
"justMyCode": true
},
]
}