Update launch.json

Fixed program path for linux dev machines.

Also added python path pointing towards venv
This commit is contained in:
Corban-Lee 2023-10-23 15:40:55 +01:00
parent 8f45b233ec
commit b4686d5cec

36
.vscode/launch.json vendored
View File

@ -1,19 +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: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}\\src\\manage.py",
"args": [
"runserver"
],
"django": true,
"justMyCode": true
}
]
}
// 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: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/manage.py",
"args": ["runserver"],
"django": true,
"justMyCode": true,
"python": "${workspaceFolder}/venv/bin/python" // Linux
// "python": "${workspaceFolder}\\venv\\Scripts\\python", // Windows
}
]
}