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.

Make debugging easier

See original GitHub issue

Currently, it’s really difficult to determine where an error occurred in a user’s script input, because of how it’s evaluated.

One option for improving this might be two wrap the user script in a string for creating the async function, and then writing that to a file and executing it.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
afwn90cj93201nixr2e1recommented, Apr 12, 2020
1reaction
TWiStErRobcommented, Jun 4, 2022

Anyone fighting with this in the future, https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging or the equivalent “Enable debug logging” at https://docs.github.com/en/actions/managing-workflow-runs/re-running-workflows-and-jobs helps to see what the end result of the substitutions was.

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Debugging Techniques to Speed Up Troubleshooting | Toptal
In this article, Toptal Freelance Java Developer Flavio Pezzini shows us techniques that can prevent bugs and make finding issues in production much...
Read more >
Debugging: Tips To Get Better At It - GeeksforGeeks
1. Run Your Code More Often. This one is the most important piece of advice, especially for beginners. · 2. Use Print Statement...
Read more >
How to debug for absolute beginners - Visual Studio
Debugging means to run your code step by step in a debugging tool like Visual Studio, to find the exact point where you...
Read more >
Is Debugging Hard? Learn How To Make It Easier
“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible,...
Read more >
What is Debugging? How to Debug Your Code for Beginners
How to Get in a Debugging Mindset · Pay Attention to Error Messages · Google Things · Explain Your Logic to Another Person...
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 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