ember-cli-pace icon indicating copy to clipboard operation
ember-cli-pace copied to clipboard

pace-src screws up source mapping

Open Kilowhisky opened this issue 10 years ago • 8 comments

tried setting my vendor and local source file to use the pace-src and then threw a debugger statement in my code. Chrome can't map the source and just throws the breakpoint in the app-start.js

Kilowhisky avatar Aug 13 '15 20:08 Kilowhisky

Very difficult to debug but I have exactly the same problem. The source map screwed up when I use "pace-src" in my index.html.

SeyZ avatar Aug 14 '15 07:08 SeyZ

I have the same issue.

Fryie avatar Sep 09 '15 14:09 Fryie

After much debugging and removing of packages, I can confirm I found pace to be the source of this issue for me, too.

benmurden avatar Dec 09 '15 05:12 benmurden

This was causing us to not have readable stack traces as well. We played around a little bit and were able to almost get there by adding a sourceURL=vendor.js and sourceURL={APPNAME}.js so that when pace evals the sources, it can associate a filename with them.

That said, we weren't able to get to a full solution, but it might be a line of further investigation for others interested.

http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl

cowboyd avatar Dec 18 '15 20:12 cowboyd

I reverted the 'pace-src' script load to standard 'src' and my debugging ability returned (that is the source code mapped properly) AND ember-cli-pace is still working. Does this make any sense?

temecom avatar Feb 18 '16 07:02 temecom

@temecom it isn't showing the loading animation during initial app load though

Turbo87 avatar Mar 24 '16 14:03 Turbo87

+1 I too have this issue.

elanclarkson avatar Oct 05 '16 01:10 elanclarkson

Hey folks. Going to try to look into this and see if I can reproduce and track down why this might be happening.

If someone is able to put up a repo with the minimum test case with steps to reproduce, that would be really helpful.

joshsmith avatar Oct 05 '16 02:10 joshsmith