egoist/poi

Breakpoints sometimes don't work in Chrome devtools until save

オープン

#688 opened on 2020/05/03

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (324 件のフォーク)batch import
help wantednot-staletype: bug

Repository metrics

Stars
 (5,251 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド