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.

Provide a diagnostic tool

See original GitHub issue

The v1 adapter has the .scripts command which dumps info about which scripts are loaded, the sourcemap info, and how the paths are finally resolved after applying overrides. It would be useful to have the same in this adapter. Would be awesome to have this in GUI form, a custom treeview, or opening an editor with a nicely formatted markdown grid, or something more user friendly than what v1 does.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
sippeangelocommented, Jun 17, 2021

The command seems to have been renamed to Diagnose Breakpoint Problems and it’s only available while a debug session is active!

2reactions
connor4312commented, Oct 9, 2020

Added a new command Create Diagnostic Information which generates a nice .html report. Example: https://memes.peet.io/img/js-debug-diagnostics2.html

  • shows current sources and shows you sourcemap children/parents
  • has a ‘breakpoint fixer’ that checks for a few common cases
    • a breakpoint set in a file that was missing. Will show if there are any files of the same name in the runtime.
      • For .ts/x files it suggests adding sourceMap: true to the tsconfig.json if no files are found
      • For web launches it suggests changing the webRoot
      • If it sees the user specific outFiles, it suggests removing the glob (since we default to the workspace)
    • Breakpoints where they match a file, but are unbound by the runtime (almost always outdated sources or bad locations)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Example Diagnostic Tools | NCII
Diagnostic tools provide data to assist educators in designing individualized instruction and intensifying intervention for students who do not respond to ...
Read more >
Five Best Computer Diagnostic Tools - AngelCom
Five Best Computer Diagnostic Tools · #1 Windows Performance Monitor · #2 Windows Resource Monitor · #3 Open Hardware Monitor · #4 Speccy...
Read more >
What is a car diagnostic tool? - Carly Blog
What is and how to use a Car Diagnostic Tool, We're here to tell you what you can do with it and what...
Read more >
How to Use an Automotive Diagnostic Tool (2020) | The Drive
The basic idea of using a diagnostic scan tool is to get the diagnostic trouble codes your vehicle automatically records when it detects...
Read more >
Different types of diagnostics: an overview of scan tool options
These basic tools allow technicians to quickly read and clear diagnostic trouble codes (DTCs). Most code readers also give a basic ...
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