Some things that would make debugging MUCH easier:
- Support javascript’s
Error.stack
- Always show console.log messages generated by the script, even when the script does not “complete successfully”
Also the last time I checked, your server node.js disallows newer language features such as Optional Chaining and Nullish Coalescing – these would be useful, if there’s not a good reason to disallow them.