egoist/poi

Breakpoints sometimes don't work in Chrome devtools until save

Open

#688 opened on May 3, 2020

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (5,251 stars) (324 forks)batch import
help wantednot-staletype: bug

Description

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.

Contributor guide