67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "DeerFlow Backend FastAPI (8001)",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "uvicorn",
|
|
"args": [
|
|
"app.gateway.app:app",
|
|
"--host",
|
|
"0.0.0.0",
|
|
"--port",
|
|
"8001",
|
|
"--reload"
|
|
],
|
|
"cwd": "${workspaceFolder}/offline-backend-20260512/backend",
|
|
"python": "${workspaceFolder}/offline-backend-20260512/backend/.venv/Scripts/python.exe",
|
|
"envFile": "${workspaceFolder}/offline-backend-20260512/.env",
|
|
"env": {
|
|
"PYTHONPATH": "${workspaceFolder}/offline-backend-20260512/backend;${workspaceFolder}/offline-backend-20260512/backend/.deer-flow/python-vendor",
|
|
"GATEWAY_CORS_ORIGINS": "http://localhost:5174,http://127.0.0.1:5174,http://localhost:8080,http://127.0.0.1:8080"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"justMyCode": false,
|
|
"subProcess": true
|
|
},
|
|
{
|
|
"name": "DeerFlow Frontend Vite (5174)",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": [
|
|
"exec",
|
|
"vite",
|
|
"--host",
|
|
"0.0.0.0",
|
|
"--port",
|
|
"5174"
|
|
],
|
|
"cwd": "${workspaceFolder}/frontend-web",
|
|
"env": {
|
|
"VITE_BACKEND_BASE_URL": "http://127.0.0.1:8001",
|
|
"VITE_LANGGRAPH_BASE_URL": "http://127.0.0.1:8001/api"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"outputCapture": "std",
|
|
"serverReadyAction": {
|
|
"pattern": "Local:\\s+(https?://[^\\s]+)",
|
|
"uriFormat": "%s",
|
|
"action": "debugWithChrome",
|
|
"webRoot": "${workspaceFolder}/frontend-web"
|
|
}
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "DeerFlow Full Stack (Backend + Frontend)",
|
|
"configurations": [
|
|
"DeerFlow Backend FastAPI (8001)",
|
|
"DeerFlow Frontend Vite (5174)"
|
|
],
|
|
"stopAll": true
|
|
}
|
|
]
|
|
}
|