From c070a5276f90b7aeabeb65dce570dd5f4461da4d Mon Sep 17 00:00:00 2001 From: akpaevj Date: Mon, 5 Aug 2024 22:06:51 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20#1418?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/VSCode.DebugAdapter/DebugeeProcess.cs | 2 +- src/VSCode.DebugAdapter/VSCode.DebugAdapter.csproj | 2 +- src/oscript/oscript.csproj | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/VSCode.DebugAdapter/DebugeeProcess.cs b/src/VSCode.DebugAdapter/DebugeeProcess.cs index 61769232f..14a9ce13c 100644 --- a/src/VSCode.DebugAdapter/DebugeeProcess.cs +++ b/src/VSCode.DebugAdapter/DebugeeProcess.cs @@ -186,7 +186,7 @@ public void HandleDisconnect(bool terminate) } _debugger.Disconnect(terminate); - var mustKill = terminate || !_attachMode; + var mustKill = terminate && !_attachMode; if (mustKill && _process != null && !_process.HasExited) { diff --git a/src/VSCode.DebugAdapter/VSCode.DebugAdapter.csproj b/src/VSCode.DebugAdapter/VSCode.DebugAdapter.csproj index e06cd92e7..7ca054e8a 100644 --- a/src/VSCode.DebugAdapter/VSCode.DebugAdapter.csproj +++ b/src/VSCode.DebugAdapter/VSCode.DebugAdapter.csproj @@ -12,7 +12,7 @@ 7.3 1.7.0.0 1.7.0.0 - + true diff --git a/src/oscript/oscript.csproj b/src/oscript/oscript.csproj index 32a21fb50..875bdab83 100644 --- a/src/oscript/oscript.csproj +++ b/src/oscript/oscript.csproj @@ -10,11 +10,13 @@ x86;AnyCPU Debug;Release;LinuxDebug Major + true 1Script console host + bin\x86\Debug\net452\oscript.xml