chore: use native runtime conditions in development (#46644)

This commit is contained in:
Aiden Cline
2026-09-01 13:50:55 -05:00
committed by GitHub
parent 2da5a4b034
commit 55c54d14b8
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ Caveats:
- If `spawn` does not work for you, you can debug the server separately:
- Debug server: `bun run --inspect=ws://localhost:6499/ --cwd packages/opencode ./src/index.ts serve --port 4096`,
then attach TUI with `opencode attach http://localhost:4096`
- Debug TUI: `bun run --inspect=ws://localhost:6499/ --cwd packages/opencode --conditions=browser ./src/index.ts`
- Debug TUI: `bun run --inspect=ws://localhost:6499/ --cwd packages/opencode ./src/index.ts`
Other tips and tricks: