A Wagtail-based intranet for the Department for Business & Trade.
Project documentation is available here.
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
}
]
}