Task: Capture All JavaScript Errors Including Caught Exceptions
Task: Capture All JavaScript Errors Including Caught Exceptions: a task in Terminal-Lego-15k (Harbor dataset). When debugging JavaScript, errors caught by try-catch blocks can be silently swallowed, making them invisible to developers. Browser debuggers offer a "pause on caught exceptions" feature…
The task
When debugging JavaScript, errors caught by `try-catch` blocks can be silently swallowed, making them invisible to developers. Browser debuggers offer a "pause on caught exceptions" feature for this purpose. Your task is to build a programmatic equivalent: a Node.js script that captures and reports **all** errors…
Part of PrimeIntellect/Terminal-Lego-15k.