Skip to content

Conversation

@pschiel
Copy link
Contributor

@pschiel pschiel commented Jan 1, 2026

Problem:

  • for debugging, bun needs to start in the development build directory
  • makes it currently impossible to debug different scenarios/projects

This patch adds positional argument for project folder opencode serve [project] (similar to opencode [project])

Usage:

bun run --cwd ${OPENCODE_DEV_PATH} --inspect-wait=ws://localhost:6499/ ./src/index.ts \
  serve --port 4096 /my/project/path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant