Closed Bug 1365579 Opened 7 years ago Closed 7 years ago

js sourcemap not working

Categories

(DevTools :: Debugger, defect)

54 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1359144

People

(Reporter: laz.brannigan, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170418004027 Steps to reproduce: - compile a js file with sourcemap support (I tested haxe compiler and uglifyjs individually) - enable sourcemaps in dev tool settings and/or about:config (devtools.debugger.source-maps-enabled;true, devtools.source-map.locations.enabled;true, devtools.debugger.client-source-maps-enabled;true) - see console ... This works as expected in Firefox 52 + 53.0.2 but it doesn't in current DeveloperEdition 54.0a2. The sourcemap is also working fine in other Browsers. What I noticed is that the dev-edition does not have the devtools.sourcemap.locations.enabled setting but devtools.source-map.locations.enabled (with the minus). Adding the devtools.sourcemap.locations.enabled manually does not resolve the issue. Actual results: references shown to compiled js file Expected results: references shown to hx source files
That looks like a dupe of bug 1344882.
Blocks: source-maps
Component: Untriaged → Developer Tools: Debugger
(In reply to laz.brannigan from comment #0) > - see console ... I switched the console to the new client-side service in bug 1359144. > What I noticed is that the dev-edition does not have the > devtools.sourcemap.locations.enabled setting but > devtools.source-map.locations.enabled (with the minus). Adding the > devtools.sourcemap.locations.enabled manually does not resolve the issue. I think you have to close and reopen the devtools after changing this setting, and maybe also reload the page (I'm not sure). In any case, I'm going to close this as a dup, because the code has already changed to the new approach, and the server-side source map service used by the console has been removed. The pref controlling the new setup is devtools.source-map.client-service.enabled, which defaults to true.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.