Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add API debugging script

Tomas Valentaca0e87a0a762
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 000000000..30361083c
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,14 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "Quart: Debug Server",
+ "type": "python",
+ "request": "launch",
+ "module": "quart",
+ "args": ["--debug", "run", "--no-reload", "--port", "49155", "--host", "0.0.0.0"],
+ "console": "integratedTerminal",
+ "cwd": "${workspaceFolder}/api-service"
+ }
+ ]
+}
diff --git a/package.json b/package.json
index a0b32211d..a9f8cea24 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,8 @@
"stop": "docker compose down && npm run db:stop",
"lint": "next lint",
"lint:fix": "next lint --fix",
- "dev:debug": "NODE_OPTIONS='--inspect' next dev",
+ "dev:next:debug": "NODE_OPTIONS='--inspect' next dev",
+ "dev:api-service:debug-without-launch": "npx concurrently -p none \"next dev\" \"npm run start:playground\"",
"db:generate": "prisma generate",
"db:pull": "prisma db pull",
"supabase:generate": "supabase gen types typescript --project-id \"ntjfcwpzsxugrykskdgi\" --schema public > db/supabase.ts",
@@ -81,4 +82,4 @@
"tailwindcss": "^3.2.7",
"typescript": "^4.9.5"
}
-}
+}
\ No newline at end of file