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;
}