mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-30 14:51:17 +01:00
feat: enable bun debugger for backend dev server (#105)
Add --inspect flag to the dev script and print the debug.bun.sh URL with the Tailscale IP in the automation. Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
@@ -26,6 +26,12 @@ services:
|
||||
commands:
|
||||
start: |
|
||||
gitpod --context environment environment port open 3000 --name "Aelis Backend" --protocol http
|
||||
TS_IP=$(tailscale ip -4)
|
||||
echo ""
|
||||
echo "------------------ Bun Debugger ------------------"
|
||||
echo "https://debug.bun.sh/#${TS_IP}:6499"
|
||||
echo "------------------ Bun Debugger ------------------"
|
||||
echo ""
|
||||
cd apps/aelis-backend && bun run dev
|
||||
|
||||
admin-dashboard:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"type": "module",
|
||||
"main": "src/server.ts",
|
||||
"scripts": {
|
||||
"dev": "bun run --watch src/server.ts",
|
||||
"dev": "bun run --watch --inspect=0.0.0.0:6499 src/server.ts",
|
||||
"start": "bun run src/server.ts",
|
||||
"test": "bun test src/",
|
||||
"db:generate": "bunx drizzle-kit generate",
|
||||
|
||||
Reference in New Issue
Block a user