Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging Ember.js from chrome

When I try debug Ember.js from chrome browser, its breakpoint for application.js only persists and rest are removed on page refresh by pressing f5.

I have enabled "Log XMLHTTP Requests" and "Preserve Log Upon Navigation" in console tab. Still the problem is there ..

Any help ?

like image 432
fortm Avatar asked Mar 21 '13 11:03

fortm


People also ask

How do I open ember inspector?

You can install the Inspector on Google Chrome as a new Developer Tool. To begin, visit the Extension page on the Chrome Web Store. Click on "Add To Chrome": Once installed, go to an Ember application, open the Developer Tools, and click on the Ember tab at the far right.

Is Emberjs a framework?

Ember. js is a productive, battle-tested JavaScript framework for building modern web applications. It includes everything you need to build rich UIs that work on any device.


1 Answers

As an alternative you can set the breakpoints in your code. javascript:

debugger;

handlebars:

{{debugger}}
like image 95
Rudi Avatar answered Oct 08 '22 03:10

Rudi