egoist/poi

Breakpoints sometimes don't work in Chrome devtools until save

Aperta

#688 aperta il 3 mag 2020

 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (324 fork)batch import
help wantednot-staletype: bug

Metriche repository

Star
 (5251 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I'm having an intermittent problem in Chrome DevTools.

I can set a breakpoint and it sometimes it will, and sometimes it won't work.

I know it's the right file, because when I go back to my IDE and hit save, the page will reload, and the breakpoint will get hit.

It feels like some kind of caching issue; I will have to resave the file I am setting the breakpoint in for it to be caught.

I don't think I'm doing anything special, in this case, it's just a TypeScript model that is consumed by a component tree.

I've had various situations when it wasn't working; I'll update this ticket as I discover them.

Guida contributor