Bug 218275

Summary: Web Inspector: error line number missing when code is a module, making debugging difficult
Product: WebKit Reporter: Andreas <andreas>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andreas, bburg, inspector-bugzilla-changes, keith_miller, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test which demonstrates the error none

Description Andreas 2020-10-28 00:41:20 PDT
Created attachment 412510 [details]
Test which demonstrates the error

In the attached file the script tags contain the same syntax error. 
Both errors appear in the console but only one shows the correct line number. 
This is happens for a vast series of errors and in many situations, making it difficult to debug code in ES6 (and also promises).
Comment 1 Radar WebKit Bug Importer 2020-10-28 10:50:05 PDT
<rdar://problem/70770767>