mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 12:55:51 +00:00
fix: 修复debug启动方式
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Claude Code Best V3 (CCB)
|
||||
# Claude Code Best V5 (CCB)
|
||||
|
||||
[](https://github.com/claude-code-best/claude-code/stargazers)
|
||||
[](https://github.com/claude-code-best/claude-code/graphs/contributors)
|
||||
@@ -133,7 +133,6 @@ TUI (REPL) 模式需要真实终端,无法直接通过 VS Code launch 启动
|
||||
- 在 `src/` 文件中打断点
|
||||
- F5 → 选择 **"Attach to Bun (TUI debug)"**
|
||||
|
||||
> 注意:`dev:inspect` 和 `launch.json` 中的 WebSocket 地址会在每次启动时变化,需要同步更新两处。
|
||||
|
||||
## 相关文档及网站
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"scripts": {
|
||||
"build": "bun run build.ts",
|
||||
"dev": "bun run scripts/dev.ts",
|
||||
"dev:inspect": "bun --inspect-wait=localhost:8888/2dc3gzl5xot run scripts/dev.ts",
|
||||
"dev:inspect": "bun --inspect-wait=localhost:8888/2dc3gzl5xot run -d 'MACRO.VERSION:\"2.1.888\"' -d 'MACRO.BUILD_TIME:\"\"' -d 'MACRO.FEEDBACK_CHANNEL:\"\"' -d 'MACRO.ISSUES_EXPLAINER:\"\"' -d 'MACRO.NATIVE_PACKAGE_URL:\"\"' -d 'MACRO.PACKAGE_URL:\"\"' -d 'MACRO.VERSION_CHANGELOG:\"\"' --feature BUDDY --feature TRANSCRIPT_CLASSIFIER src/entrypoints/cli.tsx",
|
||||
"prepublishOnly": "bun run build",
|
||||
"lint": "biome lint src/",
|
||||
"lint:fix": "biome lint --fix src/",
|
||||
|
||||
Reference in New Issue
Block a user