Browse Source

🔧 Add VS Code debug configs (#620)

pull/13907/head
Sebastián Ramírez 1 year ago
committed by GitHub
parent
commit
f0c433ae5f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 31
      .vscode/launch.json

31
.vscode/launch.json

@ -0,0 +1,31 @@
{
// 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": "Debug FastAPI Project backend: Python Debugger",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"args": [
"app.main:app",
"--reload"
],
"cwd": "${workspaceFolder}/src/backend",
"jinja": true,
"envFile": "${workspaceFolder}/src/.env",
"env": {
"POSTGRES_SERVER": "localhost"
}
},
{
"type": "chrome",
"request": "launch",
"name": "Debug Frontend: Launch Chrome against http://localhost:5173",
"url": "http://localhost:5173",
"webRoot": "${workspaceFolder}/src/new-frontend"
},
]
}
Loading…
Cancel
Save