Open Bug 1544355 Opened 6 years ago Updated 2 years ago

Linkify `import` statement paths in devtools sources

Categories

(DevTools :: Debugger, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: brettz9, Unassigned)

Details

In the console debugger "Sources" view, I would very much like the ability to see the paths within import statements as links and click on them to have the current source view change to point instead to the linked source file.

With ESM landing in browsers and dependencies may move away from being stated within HTML, I think there ought to be a means to follow dependencies better in source. Even for applications which instead bundle, it can be more convenient to test a pre-bundled version to avoid the bundling step during debugging, and even when one does bundle, the practice of using source maps would also show import statements for which it would be beneficial to follow an ESM import dependency chain.

FWIW, I have filed #1544350 for a similar bug and also to Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=952727

Summary: Linkify `import` statement paths in console → Linkify `import` statement paths in devtools sources
Component: Source Editor → Debugger
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.