Skip to content

Commit

Permalink
Merge pull request #763 from opensafely-core/rw/vscode-debug-config
Browse files Browse the repository at this point in the history
Added vscode config for debugging single test
  • Loading branch information
rw251 authored Feb 6, 2025
2 parents 6d21537 + 0ada923 commit 3a3ee03
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,22 @@
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Django",
"name": "Debug: Launch Airlock",
"type": "debugpy",
"request": "launch",
"args": ["runserver"],
"django": true,
"autoStartBrowser": true,
"program": "${workspaceFolder}/manage.py",
"justMyCode": true
}
},
{
"name": "Debug: Current test file",
"type": "debugpy",
"request": "launch",
"args": ["${file}"],
"module": "pytest",
"console": "integratedTerminal"
},
]
}

0 comments on commit 3a3ee03

Please sign in to comment.