I am working on a proof of concept using Angular JavaScript.
How to debug the Angular JavaScript code in different browsers (Firefox and Chrome) ?
You can add 'debugger' in your code and reload the app, which puts the breakpoint there and you can 'step over' , or run.
var service = { user_id: null, getCurrentUser: function() { debugger; // Set the debugger inside // this function return service.user_id; }