Bug 218574 - Web Inspector: map source-mapped variable names to source names
Summary: Web Inspector: map source-mapped variable names to source names
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-11-04 11:12 PST by Nikita Vasilyev
Modified: 2020-11-04 11:12 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 2020-11-04 11:12:25 PST
Currently, when debugging source-mapped scripts, the mapped variables names may not match the source variable names.
Referencing these variables in the console doesn't work.

Firefox DevTools has "Scopes [ ] Map" checkbox. https://developer.mozilla.org/en-US/docs/Tools/Debugger/Using_the_Debugger_map_scopes_feature

We should either:
- Do it like Firefox, e.g. add a on/off toggle.
- Always enable it.

<rdar://70778463>