54 lines
1.5 KiB
JSON
54 lines
1.5 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": "Run and Debug Django Backend",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/backend/manage.py",
|
|
"args": [
|
|
"runserver",
|
|
"127.0.0.1:8000"
|
|
],
|
|
"django": true,
|
|
"autoStartBrowser": true,
|
|
"cwd": "${workspaceFolder}/backend",
|
|
"console": "integratedTerminal"
|
|
},
|
|
|
|
{
|
|
"name": "Debug React Frontend",
|
|
"type": "firefox",
|
|
"request": "launch",
|
|
"reAttach": true,
|
|
"url": "http://localhost:5173",
|
|
"webRoot": "${workspaceFolder}/Frontend",
|
|
// "runtimeExecutable": "yarn",
|
|
// "args": ["dev"],
|
|
// "cwd": "${workspaceFolder}/frontend",
|
|
// "console": "integratedTerminal"
|
|
},
|
|
|
|
{
|
|
"name": "Run React Frontend",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "yarn",
|
|
"args": ["dev"],
|
|
"cwd": "${workspaceFolder}/frontend",
|
|
"console": "integratedTerminal"
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Start Django and React",
|
|
"configurations": [
|
|
"Run and Debug Django Backend",
|
|
"Run React Frontend"
|
|
]
|
|
}
|
|
]
|
|
} |