egoist/poi

Breakpoints sometimes don't work in Chrome devtools until save

开放

#688 创建于 2020年5月3日

 (3 条评论) (0 个反应) (0 位负责人)JavaScript (324 个派生)batch import
help wantednot-staletype: bug

仓库指标

星标
 (5,251 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南