rollup/rollup

Source maps: breakpoints don't work in IntelliJ

mitchhentgesspotify opened this issue · 3 comments

Rollup Version

4.13.2

Operating System (or Browser)

macOS 14

Node Version (if applicable)

20.11.1

Link To Reproduction

https://github.com/mitchhentgesspotify/rollup-sourcemap-repro

Expected Behaviour

Breakpoint should be able to be set when stepping into rollup'd, sourcemap'd code.

Actual Behaviour

cast.mp4

IntelliJ shows errors in its logs:

2024-04-02 15:17:55,753 [10406363]   WARN - #c.i.j.d.JavaScriptDebugProcess - Unable to set breakpoint with null position: mock://file:///Users/mhentges/dev/rollup-sourcemap-repro/consumer/node_modules/lib/lib.js

I'm reporting this to JetBrains shortly, I'll link the ticket once created.