mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
debug-server-ready: fix misbehavor in compound launch configs (#186766)
debug-server-rady: fix misbehavor in compound launch configs Fixes #186765
This commit is contained in:
@@ -308,8 +308,8 @@ class ServerReadyDetector extends vscode.Disposable {
|
||||
|
||||
export function activate(context: vscode.ExtensionContext) {
|
||||
|
||||
context.subscriptions.push(vscode.debug.onDidChangeActiveDebugSession(session => {
|
||||
if (session && session.configuration.serverReadyAction) {
|
||||
context.subscriptions.push(vscode.debug.onDidStartDebugSession(session => {
|
||||
if (session.configuration.serverReadyAction) {
|
||||
const detector = ServerReadyDetector.start(session);
|
||||
if (detector) {
|
||||
ServerReadyDetector.startListeningTerminalData();
|
||||
|
||||
Reference in New Issue
Block a user