Closed Bug 1330203 Opened 8 years ago Closed 8 years ago

new WebConsole support source map

Categories

(DevTools :: Console, defect)

53 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1289570

People

(Reporter: 709922234, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2977.0 Safari/537.36




Expected results:

new WebConsole should be able to display the original file name, as well as the number of rows and columns, through the source map.
And click to enter the debugger.
Component: Untriaged → Developer Tools: Console
OS: Unspecified → All
Hardware: Unspecified → All
Thanks for filing !

Actually sourcemaps `work` with the new console as well as with the old console as long as you use the old debugger and enable the sourcemap pref.

In about:config if you set:
- devtools.debugger.new-debugger-frontend to FALSE
- devtools.sourcemap.locations.enabled to TRUE
- make sure to close and reopen devtools to apply the new changes

=> You should get sourcemapped logs.

I don't believe this should be blocking the new console, as we have the same issue for the new console.
Also we already have Bug 1289570 that tracks turning on sourcemaps by default for the console. 

I'm closing this one as a duplicate but feel free to reopen if you still have an issue after following the steps I described above.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: