Skip to content

Commit

Permalink
Merge pull request #446 from i-dot-ai/feature/vscode-launch
Browse files Browse the repository at this point in the history
A working launch.json for Django in VSCode
  • Loading branch information
wpfl-dbt authored May 23, 2024
2 parents 6e5777f + 0bc2899 commit 99a8b1c
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,22 @@
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": []
}
"configurations": [
{
"name": "Python Debugger: Django",
"type": "debugpy",
"request": "launch",
"args": [
"runserver",
"localhost:8090"
],
"django": true,
"autoStartBrowser": false,
"program": "${workspaceFolder}/django_app/manage.py",
"envFile": "${workspaceFolder}/django_app/.env",
"env": {
"PYTHONPATH": "${poetry env info -p}/bin/python"
}
}
]
}

0 comments on commit 99a8b1c

Please sign in to comment.