-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
The Debug ID proposal consists of 3 additions:
- The "debugId" field in the source map JSON
- The "debugId" magic comment in bundles
- A runtime API to get the Debug ID of the currently running script as well as the debug id of each stack frame in a stack trace.
It might be worth it to consider landing 1) and 2) independent of 3).
Why?
In Chrome DevTools we recently landed an extension API that allows extensions to attach source mapping URLs to Resources. Or provide full source maps in the form of data URLs.
With 1) and 2) in-place, DevTools could add the "debugID" as reported by the engine on the "Resource" object and extensions could use that to then resolve/load the correct source map. The current proposal already goes in a similar direction in the section "Symbol Server Support".
My question from the DevTools sides are:
- Does this solve an actual user problem?
- Do we have implementors of symbol/artifact servers that would want this?
cc: @lforst @robpaveza
lforst, 0xdevalias and jkup
Metadata
Metadata
Assignees
Labels
No labels