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.

Feature request: Customize more / or disable file & line number

See original GitHub issue

There are open issues on file & line numbers not working properly. It seems to be a complicated problem to solve, and I’m bitten by the same bug as #166 : image

I have an additional issue: I wrapped the logger calls in my own service, and as you can see it is thus always the same spot that is being reported (actually, the first spot called, as explained in #166).

So:

  1. It would be nice to have a config option to set the level of depth to look for the actual call. Here, I need to go back 1 step further in the callstack to show the proper place.
  2. It would be nice to be able to disable the line display altogether, it might not be useful at all. Just disabling the sourceMaps option just shows the un-sourcemapped file, but still displays something.

Is it something that could be easily achieved? If positive, I could take a stab at a PR.

Note: what’s weird is that it actually worked that way a few weeks ago - but then disappeared. Don’t remember what set of updates had that effect because I changed lots of stuff in my project moving to Angular 9.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
tjandro93commented, Apr 17, 2020

Just wanted to drop in and say this would be a really useful feature

0reactions
bmtheocommented, Feb 19, 2021

ok #192 is merged now so I close this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Line numbers for every cell in VSCode Jupyter Notebook Cells
In VS Code Jupyter Notebook, you can toggle line numbers by pressing L. The trick is to select the current cell first.
Read more >
Manage hosted feature layers—ArcGIS Online Help
You can change the name of hosted feature layer items and layers inside hosted feature ... If all options that use the log...
Read more >
Reviewing proposed changes in a pull request - GitHub Docs
In a pull request, you can review and discuss commits, changed files, and the differences (or "diff") between the files in the base...
Read more >
Network features reference - Chrome Developers
Discover new ways to analyze how your page loads in this comprehensive reference of Chrome DevTools network analysis features.
Read more >
Working with SoapUI | Preferences
Set various editor properties like font, line numbers visibility, request and response validation etc. Tools, Define external tools executables. To run tools ...
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