Make debugging easier
See original GitHub issueCurrently, 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:
- Created 4 years ago
- Reactions:3
- Comments:11 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

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.