egoist/poi

Breakpoints sometimes don't work in Chrome devtools until save

Open

#688 建立於 2020年5月3日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)JavaScript (5,251 star) (324 fork)batch import
help wantednot-staletype: bug

描述

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.

貢獻者指南