- Is it possible to effectively debug Ember-Cli?
- In the browser I get “http://0.0.0.0:4200/assets/jquery.min.map 404 (Not Found)”. Do I need to resolve this for debugging to work? How?
They are complied into one file, but the source codes are actually separated due to the use of sourceURL.
Each file is compiled into a single string, then
eval with sourceURL appended at the end. So in your dev tool, you still see them as separate files.
COMMAND+O in your chrome dev tool’s source tab.
debuggerjust like you otherwise would. Install the Ember Inspector for extra help.
This is a great resource about debugging with ember: http://eviltrout.com/2014/08/16/debugging-ember-js.html
I’m also looking for a way to debug since I found it’s quite painful to debug when I use ember cli. Specifically, I cannot set a breakpoint to the code that I write since they’re put into eval() by ember-cli. Even with Ember Inspector, I cannot set a breakpoint either.