angular - angular2 debugging: breakpoint not getting hit at execution only at initialization -
i'm trying debug angular2 app source map placing breakpoint in .ts file.
foo(){ //breakpoint here console.log('bar'); }
the breakpoint gets hit when loading component , not when executing. idea?
put debugger;
in line ever want.browser pauses;
Comments
Post a Comment