We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 328fabe commit 290bd52Copy full SHA for 290bd52
1 file changed
src/mcp/tools/debugging/debug_attach_sim.ts
@@ -122,8 +122,10 @@ export async function debug_attach_simLogic(
122
const message = error instanceof Error ? error.message : String(error);
123
try {
124
await debuggerManager.detachSession(session.id);
125
- } catch {
126
- // Best-effort cleanup; keep original resume error.
+ } catch (detachError) {
+ const detachMessage =
127
+ detachError instanceof Error ? detachError.message : String(detachError);
128
+ log('warn', `Failed to detach debugger session after resume failure: ${detachMessage}`);
129
}
130
return createErrorResponse('Failed to resume debugger after attach', message);
131
0 commit comments