Skip to content

Commit

Permalink
Add VSCode launch.json for django
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcen committed Mar 1, 2024
1 parent 27d6915 commit 7e3ead3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: check-executables-have-shebangs
# Attempts to load all json files to verify syntax.
- id: check-json
exclude: .devcontainer/devcontainer.json
exclude: (.devcontainer/devcontainer.json|.vscode/launch.json)
# Check for files that contain merge conflict strings.
- id: check-merge-conflict
# Checks that scripts with shebangs are executable.
Expand Down
19 changes: 19 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Django",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/django/manage.py",
"args": [
"runserver"
],
"django": true,
"autoStartBrowser": false
}
]
}

0 comments on commit 7e3ead3

Please sign in to comment.