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.

Line Numbers do not show in the browser

See original GitHub issue

With Debug v3.1.0, line numbers always point to the debug file browser.js (loading from node_modules/debug/src/browser.js) screen shot 2017-10-10 at 12 18 45 am

I see some closed issues on this topic: https://github.com/visionmedia/debug/issues/105 Seeing the correct line numbers would be a very nice feature.

Also, thanks for the great work.

Issue Analytics

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

github_iconTop GitHub Comments

10reactions
j-walker23commented, Jan 22, 2018

@richdyang @krismeister fyi this can be solved in Chrome with https://developer.chrome.com/devtools/docs/blackboxing.

I added two paths, and now my file/line no is correct for console logs. /debug/src/browser.js /debug/src/debug.js

0reactions
j-walker23commented, Feb 3, 2019

@petahbred @chaoyangnz You’re welcome!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Display line numbers for code - Visual Studio (Windows)
In this article​​ You can show or hide line numbers in your code. Here's how. On the menu bar, choose Tools > Options....
Read more >
Line Numbers do not show in the browser · Issue #516 - GitHub
With Debug v3.1.0, line numbers always point to the debug file browser.js (loading from node_modules/debug/src/browser.js) I see some closed ...
Read more >
Line numbers not showing - Visual Studio Feedback
You can enable line numbers by going to tools->options->text editor->all languages and enabling “Line numbers” option. Additionally, you can enable line numbers ...
Read more >
How to show and hide line numbers in Notepad++
To show or hide line numbers in the editor screen of Notepad++, open the program so that you are at the main screen...
Read more >
Where did the line numbers go (browser editor)?
However, recently (Summer 13?) the line numbers displayed in the code editor window have disappeared - I can still edit the code, but...
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