diff --git a/.vscode/launch.json b/.vscode/launch.json index 727844a2e..ce88decec 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,13 +1,14 @@ { - "version": "0.2.0", - "configurations": [ - { - "type": "bun", - "request": "attach", - "name": "Attach to Bun (TUI debug)", - "url": "ws://localhost:8888/2dc3gzl5xot", - "stopOnEntry": false, - "internalConsoleOptions": "neverOpen" - } - ] -} + "version": "0.2.0", + "configurations": [ + { + "type": "bun", + "request": "attach", + "name": "Attach to Claude Code", + "url": "ws://localhost:8888/2dc3gzl5xot", + "preLaunchTask": "Start Claude Code TUI", + "stopOnEntry": false, + "internalConsoleOptions": "neverOpen" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..29f31d4ba --- /dev/null +++ b/.vscode/tasks.json @@ -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:.*" + } + } + } + ] +} \ No newline at end of file