diff --git a/src/WorkspaceManager.ts b/src/WorkspaceManager.ts index 2c201188..f113060d 100644 --- a/src/WorkspaceManager.ts +++ b/src/WorkspaceManager.ts @@ -527,7 +527,7 @@ export class WorkspaceManager implements vscode.Disposable { vscode.debug.stopDebugging(currentSession); }); } - await waitWithTimout(terminated, 5000, 'Abandoning waiting for termination of debug session'); + await terminated; } else { throw Error( 'Failed starting the debug session. Maybe something wrong with "testMate.cpp.debug.configTemplate".',