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 dcb1914 commit 305ff6eCopy full SHA for 305ff6e
src/debug/MatlabDebugger.ts
@@ -113,7 +113,7 @@ export default class MatlabDebugger {
113
session.name = 'MATLAB';
114
115
const isInvalidToStartSession = (await vscode.workspace.getConfiguration('MATLAB').get('matlabConnectionTiming')) === 'never'
116
- if (isInvalidToStartSession) {
+ if (isInvalidToStartSession && this._mvm.getMatlabState() === MatlabState.DISCONNECTED) {
117
void vscode.debug.stopDebugging(session);
118
return;
119
}
0 commit comments