DonJayamanne / typescript-notebook

Run JavaScript and TypeScript in node.js within VS Code notebooks with excellent support for debugging, tensorflowjs visulizations, plotly, danfojs, etc
https://marketplace.visualstudio.com/items?itemName=donjayamanne.typescript-notebook
MIT License
904 stars 39 forks source link

Better error reporting? #71

Open ryantheleach opened 2 years ago

ryantheleach commented 2 years ago

When playing around with some cells in this notebook, I am not getting any actionable compilation / runtime errors.

I get line numbers, but not the reasons: image

riekusr commented 1 year ago

I am having this strange issue where there is no error output at all:

image

also not in the terminal / output etc, no error reporting, really unworkable. Thought this was working propperly a couple months ago but unsure if I broke something.

idpsycho commented 10 months ago

hello, any updates for this?

i found a way if i am desperate, i can wrap the cell inside try catch, see below, but that is quite uncomfortable not to have the error message by default Screenshot 2023-10-13 at 12 43 37 Screenshot 2023-10-13 at 12 43 57

idpsycho commented 10 months ago

issue is also mentioned here: https://github.com/DonJayamanne/typescript-notebook/issues/51 and here: https://github.com/DonJayamanne/typescript-notebook/issues/65

azhong-git commented 9 months ago

+1

velen-lqc commented 9 months ago

Name and message are missing and only stack is displayed.

"name": "Error",
    "message": "sdf"

Screencast from 11-30-2023 11:01:04 AM.webm