Skip to content

Call native logging APIs when debugging in the extension host #104686

@connor4312

Description

@connor4312

Currently in extension host debugging, logged messages are placed directly in the Debug Console and bypass js-debug.

However, now (as of microsoft/vscode-js-debug#412) js-debug has the capability to replace paths stacktraces thrown from compiled code with their respective source locations, so there's a compelling benefit to change this behavior. Either to actually call the native APIs (which would be the easiest for me 😄) or implement some custom DAP message to pass the log through the debugger here

this.toDispose.push(this.extensionHostDebugService.onLogToSession(event => {

Metadata

Metadata

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions