#856·plasmo

[BUG] Sourcemaps off by 1 line

Author: bot101Created Jan 4, 2024Updated Jun 18, 2026
Labelsbug

What happened?

While debugging extensions in Chrome Devtools, the sourcemaps in content scripts are off by one line. I have this experience working on 2 different extensions. In the screenshot, the breakpoint on line 55 actually activates for line 54, and the debug cursor is currently acting on line 55. Is there a fix for this issue?

image

Version

Latest

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

(OPTIONAL) Contribution

  • I would like to fix this BUG via a PR

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.