fix: 删除 debug 限制

This commit is contained in:
claude-code-best
2026-04-07 16:06:23 +08:00
parent a7d9a220bf
commit 4e1e681a46
2 changed files with 2 additions and 9 deletions

View File

@@ -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