44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
// 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": "ng serve",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"preLaunchTask": "npm: start",
|
|
"url": "http://localhost:4200/"
|
|
},
|
|
{
|
|
"name": "Python: FastAPI",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "barker",
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}/barker",
|
|
"justMyCode": true,
|
|
"envFile": "${workspaceFolder}/.env"
|
|
},
|
|
{
|
|
"name": "Python: FastAPI (Live Reload)",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "uvicorn",
|
|
"args": [
|
|
"barker.main:app",
|
|
"--host",
|
|
"127.0.0.1",
|
|
"--port",
|
|
"8000",
|
|
"--reload"
|
|
],
|
|
"cwd": "${workspaceFolder}/barker",
|
|
"subProcess": true,
|
|
"justMyCode": true,
|
|
"envFile": "${workspaceFolder}/.env"
|
|
}
|
|
]
|
|
}
|