You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sandbox/servers/<name>/main.go or server.js or dev.js
owner
devpt-cli (managed)
observe
~/.config/devpt/logs/<name>/*.log
control
Via devpt-cli: ./devpt {start|stop} <name>
inject
go run . (Go) or node server.js (Node)
rollout
Rebuild + restart via devpt
test
No dedicated tests (fixtures for manual testing)
go-basic / OBSERVE / VERIFIED
Action: ./devpt logs test-go-basic --lines 5
Signal: 2026/03/12 14:59:04 [go-basic] listening on http://localhost:3400
Constraints: Logs captured only for managed services started via devpt start
go-basic / INJECT / VERIFIED
Action:
cd sandbox/servers/go-basic
go run .
Signal: [go-basic] listening on http://localhost:3400
Constraints: Runs in foreground; use with & for background execution
Debug Helper Commands
# Quick rebuild and test
go build -o devpt ./cmd/devpt && ./devpt ls
# Run all CLI tests with coverage
go test ./pkg/cli/... -cover
# Run the focused TUI and CLI package suite used for current UI work
go test -mod=mod ./pkg/cli/tui ./pkg/cli
# Run specific test with verbose output
go test -v ./pkg/cli -run TestWarnLegacyManagedCommands
# Run UI rendering tests (visual regression checks)
go test -v ./pkg/cli/tui -run TestView
# Run state transition tests
go test -v ./pkg/cli/tui -run TestTUI
# View registry state
cat ~/.config/devpt/registry.json | jq '.'# Check logs for a service
ls ~/.config/devpt/logs/<service-name>/
cat ~/.config/devpt/logs/<service-name>/*.log | tail -20
# Quick health check on a running service
curl -s http://localhost:<port>/health