Load separate sourcemap file in chrome dev tools Load separate sourcemap file in chrome dev tools google-chrome google-chrome

Load separate sourcemap file in chrome dev tools


I know question is old, but had it myself nevertheless. Here's how you do it in Chromium 63

Add source map

  1. Open Debugger
  2. Right-click in source code area
  3. Select "Add source map…"
  4. Enter URL to source map file
    • if browser is able to download it and process it then sources appear as entry in source tree.

PS built with hidden source (separate files, no source comment)

PPS does not matter where files are hosted, because it is URL. Must be accessible by browser.