Skip to content

Commit 10f7b23

Browse files
authored
🔧 Update VS Code debug config (fastapi#676)
1 parent c609380 commit 10f7b23

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.vscode/launch.json

+3-6
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,16 @@
1313
"app.main:app",
1414
"--reload"
1515
],
16-
"cwd": "${workspaceFolder}/src/backend",
16+
"cwd": "${workspaceFolder}/backend",
1717
"jinja": true,
18-
"envFile": "${workspaceFolder}/src/.env",
19-
"env": {
20-
"POSTGRES_SERVER": "localhost"
21-
}
18+
"envFile": "${workspaceFolder}/.env",
2219
},
2320
{
2421
"type": "chrome",
2522
"request": "launch",
2623
"name": "Debug Frontend: Launch Chrome against http://localhost:5173",
2724
"url": "http://localhost:5173",
28-
"webRoot": "${workspaceFolder}/src/new-frontend"
25+
"webRoot": "${workspaceFolder}/frontend"
2926
},
3027
]
3128
}

0 commit comments

Comments
 (0)