|
@@ -80,7 +80,9 @@ async function setDebugSession(
|
|
} else {
|
|
} else {
|
|
debug.session.client = client;
|
|
debug.session.client = client;
|
|
}
|
|
}
|
|
- await debug.restoreState(true);
|
|
|
|
|
|
+ if (debug.isDebuggingEnabled) {
|
|
|
|
+ await debug.restoreState(true);
|
|
|
|
+ }
|
|
app.commands.notifyCommandChanged();
|
|
app.commands.notifyCommandChanged();
|
|
}
|
|
}
|
|
|
|
|