Skip to content

Commit

Permalink
Add smdb/ to program paths, set cwd for Django runserver_plus
Browse files Browse the repository at this point in the history
  • Loading branch information
MBARIMike committed Aug 12, 2021
1 parent 58d81c3 commit f657071
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,31 @@
"name": "Django runserver_plus",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"args": ["runserver_plus", "0.0.0.0:8000", "--settings", "config.settings.local"],
"django": true
"cwd": "${workspaceFolder}/smdb",
"program": "${workspaceFolder}/smdb/manage.py",
"args": [
"runserver_plus",
"0.0.0.0:8000",
"--settings",
"config.settings.local"
],
"django": true,
"justMyCode": false
},
{
"name": "manage.py shell_plus",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"program": "${workspaceFolder}/smdb/manage.py",
"console": "integratedTerminal",
"args": ["shell_plus"],
"justMyCode": false
}
},
{
"name": "load.py",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/scripts/load.py",
"program": "${workspaceFolder}/smdb/scripts/load.py",
"console": "integratedTerminal",
"args": ["-v 2", "--regex", "mbsystem/Data/2019/20191106m3/ZTopo.grd$"],
"justMyCode": false
Expand Down

0 comments on commit f657071

Please sign in to comment.