Chrome Developer tool: html script is blank (in source) debugging tutorial
in my case the order helped was
- close the blank tab in sources
- close dev tools
- open dev tools
- open the tab in sources(its still blank)
- refresh page
This appears to be a known issue with Chromium DevTools. Basically, the HTML and other non-script content is already flushed before DevTools opens and there's no reliable way to get it back. Refreshing the page with DevTools open "corrects" the issue.
I had this problem, and have just found that disabling "Enable Javascript Source Maps" from the Inspector settings window (F1) solved it
I recreated my js.map, reenabled the setting and the source was still available.
So I think my problem was that I was serving unminified js (dev settings), but the map (built for prod settings) was still there and out of date.