diff --git a/packages/debug/src/browser/debug-session-manager.ts b/packages/debug/src/browser/debug-session-manager.ts index a7274cee84b86..1bfa298b6540f 100644 --- a/packages/debug/src/browser/debug-session-manager.ts +++ b/packages/debug/src/browser/debug-session-manager.ts @@ -234,7 +234,7 @@ export class DebugSessionManager { if (await session.restart()) { return session; } - await session.terminate(!!restart); + await session.terminate(true); const { options, configuration } = session; configuration.__restart = restart; return this.start(options);