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.

Hide irrelevant source location from chrome developer tools in renderer process logging

See original GitHub issue

I use electron-log in renderer process using a preload. the log can be viewed in the chrome developer console, but it shows the source line number as url:/Users/username/path/to/project/node_modules/electron-log/src/transports/console.js:91 always, which have no relevance and takes up a significant screen space. Is there any option to remove it?

Screenshot 2020-07-26 at 10 03 33 AM

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
megahertzcommented, Aug 11, 2020

Solved

1reaction
megahertzcommented, Jul 29, 2020

@vazra Sorry, I have no time at this moment. Will try to check the PR on this week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developer tools: get log origin line number · Issue #29 - GitHub
Hi, I saw you just recently enabled logging in the developer tools console, thanks for that. Do you think it would be possible...
Read more >
Hiding violations in Chrome Dev Console - Stack Overflow
Open Console Settings (the gear icon). · Check the User Messages Only checkbox to only show messages logged from scripts. Browser violations are ......
Read more >
Log messages in the Console - Chrome Developers
Learn how to log messages to the Console. ... DevTools opens the Sources panel after you click log.js:2. The message was logged when...
Read more >
Modern web debugging in Chrome DevTools
To hide the ignore-listed files and folders from the Authored Code file tree in the Sources panel, check Hide ignore-listed code in sources...
Read more >
Rendering tab overview - Chrome Developers
Discover a collection of options that affect web content rendering with this overview of the Rendering tab features in DevTools.
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