Bug 258956

Summary: Web Inspector: Have a small toggle into the Sources tab to enable/disable Sourcemaps
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=257944

Description Karl Dubost 2023-07-06 17:37:20 PDT
1. Go to music.amazon.com
2. Open Web Inspector
3. Check Enable Source Maps is on.
4. Go to the Sources tab
5. Set a breakpoint on     const { onPlaybackNotSupported } = store.getState().Media;
6. Reload 
7. Play 
8. The page is activating the breakpoint
9. hover the store or getState()


Expected: 
Get the information about the variable or functions

Actual:
Nothing

The sourcemap is not useful, probably wrong version reference. 
It would be practical this circumstance to be able to quickly deactivate the sourcemap to show the js used by Web inspector and make the hover working. 


Probably related to 257944 if not a duplicate.
Comment 1 Radar WebKit Bug Importer 2023-07-06 17:37:33 PDT
<rdar://problem/111879437>