question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debug through source files in Chrome DevTools

See original GitHub issue

Thanks for the initiative in creating this CLI tool for Chrome extensions with Angular. What I thing it’s missing is not having the option to analyze and debug the angular app implementation with source code. After creating a new project and starting it I get the fallowing warnings when inspecting the Angular popup:

DevTools failed to parse SourceMap: chrome-extension://jchfjdadafmbllfnkkmnoopppgkpdboj/runtime.js.map
DevTools failed to parse SourceMap: chrome-extension://jchfjdadafmbllfnkkmnoopppgkpdboj/polyfills.js.map
DevTools failed to parse SourceMap: chrome-extension://jchfjdadafmbllfnkkmnoopppgkpdboj/styles.js.map
DevTools failed to parse SourceMap: chrome-extension://jchfjdadafmbllfnkkmnoopppgkpdboj/vendor.js.map
DevTools failed to parse SourceMap: chrome-extension://jchfjdadafmbllfnkkmnoopppgkpdboj/main.js.map
DevTools failed to parse SourceMap: chrome-extension://jchfjdadafmbllfnkkmnoopppgkpdboj/modules-popup-popup-module.js.map

This is surely related. Don’t know if there is an issue with the generated source maps. For some reason source maps for SCSS seem OK and e.g. styles.scss can be open fine with Chrome DevTools.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
larscomcommented, Apr 10, 2020

Ill keep this issue open to see if it needs a fix from our side later on.

1reaction
Dashiingcommented, Apr 10, 2020

I’ve been digging into this issue to see if I could find a solution, but it seems to be a bug on Chrome. A fix might come around on Chrome v82: https://bugs.chromium.org/p/chromium/issues/detail?id=1052872#c14 So nothing we can do at the moment I guess.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to go to a specific file in Chrome Developer Tools?
Use CTRL + SHIFT + F to search for content in files. Use CTRL + SHIFT + O to search for file names....
Read more >
Search: Find text across all loaded resources
Press Command + Option + F (Mac) or Control + Shift + F (Windows/Linux). # Search for text across all loaded resources. To...
Read more >
Debugging in the browser - The Modern JavaScript Tutorial
Open the example page in Chrome. Turn on developer tools with F12 (Mac: Cmd+Opt+I ). Select the Sources panel.
Read more >
Chrome DevTools - 20+ Tips and Tricks - KeyCDN
You can quickly search all of your source code by pressing Cmd + Opt + F ( Ctrl + Shift + F )....
Read more >
Using the Chrome Debugger Tools, part 3: The Source Tab
At its simplest, the Sources tab allows you to set breakpoints and evaluate expressions in Javascript whether that Javascript was loaded from a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found