Skip to content

Commit 698abfe

Browse files
Fix bug: the debug toolbar doesn't close after the program running in terminal has exited (#271)
Signed-off-by: Jinbo Wang <[email protected]>
1 parent 6633a55 commit 698abfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/handler/LaunchRequestHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ protected CompletableFuture<Response> launch(LaunchArguments launchArguments, Re
224224

225225
if (context.supportsRunInTerminalRequest()
226226
&& (launchArguments.console == CONSOLE.integratedTerminal || launchArguments.console == CONSOLE.externalTerminal)) {
227+
waitForDebuggeeConsole.complete(true);
227228
return activeLaunchHandler.launchInTerminal(launchArguments, response, context);
228229
}
229230

0 commit comments

Comments
 (0)