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
.vscode/launch.json
vendored
1
.vscode/launch.json
vendored
@@ -6,7 +6,6 @@
|
||||
"request": "attach",
|
||||
"name": "Attach to Claude Code",
|
||||
"url": "ws://localhost:8888/2dc3gzl5xot",
|
||||
"preLaunchTask": "Start Claude Code TUI",
|
||||
"stopOnEntry": false,
|
||||
"internalConsoleOptions": "neverOpen"
|
||||
}
|
||||
|
||||
@@ -511,13 +511,7 @@ function isBeingDebugged() {
|
||||
}
|
||||
}
|
||||
|
||||
// Exit if we detect node debugging or inspection
|
||||
if ("external" !== "ant" && isBeingDebugged()) {
|
||||
// Use process.exit directly here since we're in the top-level code before imports
|
||||
// and gracefulShutdown is not yet available
|
||||
// eslint-disable-next-line custom-rules/no-top-level-side-effects
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Per-session skill/plugin telemetry. Called from both the interactive path
|
||||
|
||||
Reference in New Issue
Block a user