We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c98922 commit 00bfb87Copy full SHA for 00bfb87
extensions/debug-server-ready/src/extension.ts
@@ -308,8 +308,8 @@ class ServerReadyDetector extends vscode.Disposable {
308
309
export function activate(context: vscode.ExtensionContext) {
310
311
- context.subscriptions.push(vscode.debug.onDidChangeActiveDebugSession(session => {
312
- if (session && session.configuration.serverReadyAction) {
+ context.subscriptions.push(vscode.debug.onDidStartDebugSession(session => {
+ if (session.configuration.serverReadyAction) {
313
const detector = ServerReadyDetector.start(session);
314
if (detector) {
315
ServerReadyDetector.startListeningTerminalData();
0 commit comments