Display actionable error UI when the source text content can't be fetched
Categories
(DevTools :: Debugger, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: ochameau, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
In can happen frequently when debugging production websites that the source maps are half working / half broken.
For example on reddit. The original sources names/URLs will appear in the source tree, and the debugger will try to select them by default. But the website doesn't server their content.
So that as soon as we try to open the source, we get an error.
It would be nice to improve the output of this error, and have functional links to the source url, source map url and also a link to jump directly to the bundle.
The important part is that if we are paused on a precise location, we want to jump into the related position in the bundle.
| Reporter | ||
Comment 1•2 years ago
|
||
For now, we were still displaying CodeMirror when the source text content couldn't be fetched.
But instead we could provide some error UI, with various information and links to help working around this situation.
Updated•6 months ago
|
Description
•