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

Popular posts from this blog

c - zlib and gdi32 with OpenSSL? -

java - inputmismatch exception -

ios - Align baselines with characters in large line heights with Text Kit -