I’m using coroutines in JS. When my code throws an exception, I can’t see the source location. I understand that much of the stack will be in the coroutine library, but I expected the top of the stack (ie, closest to the error) to still show my code. However, it doesn’t. Obviously this makes debugging much more difficult. Is there anything that can be done to alleviate this?
Here’s a screenshot of an example stacktrace: