Skip to content

Debug Protocol: Add a "url" field to "source" objects #125

Closed
@andrewcrawley

Description

We'd like to add a url field to Source objects to support more advanced mappings from url to local file that VS can perform based on project system information while debugging JS running in a browser.

Proposal:

export interface Source {
    // ...

    /** The URL of the source, if available. */
    url?: string;

    // ...
}

We'd prefer a separate field rather than re-using the path field so that debug adapters can continue to support their own source mapping mechanisms while still allowing the host to do more advanced mapping if available.

Namedrops: @weinand @richardstanton @gregg-miskelly @digeff @roblourens

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions