debug: expose parent session on DebugSessions

For https://github.com/microsoft/vscode/issues/123403
This commit is contained in:
Connor Peet
2021-05-18 11:56:09 -07:00
parent 25967171f1
commit e657d42281
4 changed files with 23 additions and 4 deletions

View File

@@ -329,7 +329,8 @@ export class MainThreadDebugService implements MainThreadDebugServiceShape, IDeb
type: session.configuration.type,
name: session.name,
folderUri: session.root ? session.root.uri : undefined,
configuration: session.configuration
configuration: session.configuration,
parent: session.parentSession?.getId(),
};
}
}