fix issues/79: F5 直接调试
This commit is contained in:
parent
6a3fd223fc
commit
840d4574da
25
.vscode/launch.json
vendored
25
.vscode/launch.json
vendored
|
|
@ -1,13 +1,14 @@
|
||||||
{
|
{
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"type": "bun",
|
"type": "bun",
|
||||||
"request": "attach",
|
"request": "attach",
|
||||||
"name": "Attach to Bun (TUI debug)",
|
"name": "Attach to Claude Code",
|
||||||
"url": "ws://localhost:8888/2dc3gzl5xot",
|
"url": "ws://localhost:8888/2dc3gzl5xot",
|
||||||
"stopOnEntry": false,
|
"preLaunchTask": "Start Claude Code TUI",
|
||||||
"internalConsoleOptions": "neverOpen"
|
"stopOnEntry": false,
|
||||||
}
|
"internalConsoleOptions": "neverOpen"
|
||||||
]
|
}
|
||||||
}
|
]
|
||||||
|
}
|
||||||
27
.vscode/tasks.json
vendored
Normal file
27
.vscode/tasks.json
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Start Claude Code TUI",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "bun run dev:inspect",
|
||||||
|
"isBackground": true,
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always",
|
||||||
|
"focus": true,
|
||||||
|
"panel": "dedicated",
|
||||||
|
"clear": true
|
||||||
|
},
|
||||||
|
"problemMatcher": {
|
||||||
|
"pattern": {
|
||||||
|
"regexp": "^$"
|
||||||
|
},
|
||||||
|
"background": {
|
||||||
|
"activeOnStart": true,
|
||||||
|
"beginsPattern": ".*Bun Inspector.*",
|
||||||
|
"endsPattern": ".*Listening:.*"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user