[master] fix open terminal on debug test
This commit is contained in:
Родитель
a5f8780fe9
Коммит
e8df2730c3
|
@ -301,7 +301,9 @@ export async function debugTestAtCursor(
|
||||||
};
|
};
|
||||||
lastDebugConfig = debugConfig;
|
lastDebugConfig = debugConfig;
|
||||||
lastDebugWorkspaceFolder = workspaceFolder;
|
lastDebugWorkspaceFolder = workspaceFolder;
|
||||||
|
if (vscode.workspace.getConfiguration().get('debug.internalConsoleOptions') !== 'neverOpen') {
|
||||||
vscode.commands.executeCommand('workbench.debug.action.focusRepl');
|
vscode.commands.executeCommand('workbench.debug.action.focusRepl');
|
||||||
|
}
|
||||||
return await vscode.debug.startDebugging(workspaceFolder, debugConfig);
|
return await vscode.debug.startDebugging(workspaceFolder, debugConfig);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче