From 797055b3fcd443a145d45dfdbc89496ef01e7f5f Mon Sep 17 00:00:00 2001 From: Rob Moran Date: Thu, 15 Aug 2019 20:22:07 +0100 Subject: [PATCH] Ensure terminate flags restart when restarting Signed-off-by: Rob Moran --- packages/debug/src/browser/debug-session-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);