Source maps not working in extension

88 views
Skip to first unread message

Jože Fabčič

unread,
Jul 7, 2019, 2:22:00 PM7/7/19
to Chromium Extensions
I cannot make the source maps (generated from typescript 3.5) active in a extension (background, popup or content). You can see my example extension if you unzip the attached example. When opening one of the .js files (e.g. base.js as used in the background), chrome notices "source map detected" (see the .png file), but I cannot load .ts file from "Page". If I load it from the Filesystem, breakpoints set in .ts file are not active. The setting "enable javascript source files" is on. web_accessible_resources includes "*". Chrome for Windows 10 x64 is version 75.

Thanks, Jože

Jože Fabčič

unread,
Jul 7, 2019, 2:22:58 PM7/7/19
to Chromium Extensions
I couldn't attach the files in the original post.

chrome-source-map-detected.PNG
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Jože Fabčič

unread,
Jul 7, 2019, 2:29:13 PM7/7/19
to Chromium Extensions
I can't attach here the zip file with the extension. I can send it if somebody has time to look into.
Reply all
Reply to author
Forward
0 new messages