- Add explicit hostname: '0.0.0.0' to bind all interfaces
- Add try/catch around server creation with proper error logging
- Add server error handler for runtime exceptions
- Add verification timeout to confirm server is actually listening
- Enhanced debugging to identify port binding issues
Fixes issue where server claimed success but wasn't actually listening on port 3000.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add debug logs for serveWeb calls and timing
- Measure content length and response creation time
- Help identify if createResponse is the bottleneck
- Debug Bad Gateway timeout issues
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add debug logs for API directory scanning
- Add debug logs for server creation phases
- Add debug logs for Bun.serve startup
- Help identify where server startup fails
- Debug potential hanging issues in createServer
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>