fix: 修复debug启动方式

This commit is contained in:
claude-code-best
2026-04-03 14:40:45 +08:00
parent a7604f6591
commit 7935bfb4b8
2 changed files with 2 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
# Claude Code Best V3 (CCB)
# Claude Code Best V5 (CCB)
[![GitHub Stars](https://img.shields.io/github/stars/claude-code-best/claude-code?style=flat-square&logo=github&color=yellow)](https://github.com/claude-code-best/claude-code/stargazers)
[![GitHub Contributors](https://img.shields.io/github/contributors/claude-code-best/claude-code?style=flat-square&color=green)](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 地址会在每次启动时变化,需要同步更新两处。
## 相关文档及网站

View File

@@ -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/",