mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00: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:
parent
5c98922b52
commit
00bfb8704f
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue