Bug 218574

Summary: Web Inspector: map source-mapped variable names to source names
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

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>