fix: 删除 debug 限制
This commit is contained in:
parent
a7d9a220bf
commit
4e1e681a46
3
.vscode/launch.json
vendored
3
.vscode/launch.json
vendored
|
|
@ -6,9 +6,8 @@
|
||||||
"request": "attach",
|
"request": "attach",
|
||||||
"name": "Attach to Claude Code",
|
"name": "Attach to Claude Code",
|
||||||
"url": "ws://localhost:8888/2dc3gzl5xot",
|
"url": "ws://localhost:8888/2dc3gzl5xot",
|
||||||
"preLaunchTask": "Start Claude Code TUI",
|
|
||||||
"stopOnEntry": false,
|
"stopOnEntry": false,
|
||||||
"internalConsoleOptions": "neverOpen"
|
"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
|
* Per-session skill/plugin telemetry. Called from both the interactive path
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user