Open vnghia opened 2 years ago
Describe the bug
When using traceback.install() in vscode, exceptions aren't raised anymore. The cell status is success and the code continues running.
traceback.install()
vscode
Inside a notebook in vscode
import rich rich.traceback.install(); raise ValueError
Platform
In the meantime, I suggest we disable install() inside vscode by checking VSCODE_PID https://github.com/microsoft/vscode-jupyter/issues/3364. I could send a PR for this if you want. Thank you very much !
install()
VSCODE_PID
Same behavior in Databricks, issue #2455
This is due to #2271
same behaviour
Describe the bug
When using
traceback.install()
invscode
, exceptions aren't raised anymore. The cell status is success and the code continues running.Inside a notebook in
vscode
Platform
Click to expand
What platform (Win/Linux/Mac) are you running on? What terminal software are you using? I tested on all 3 OSes. ``` ╭────────────────────In the meantime, I suggest we disable
install()
inside vscode by checkingVSCODE_PID
https://github.com/microsoft/vscode-jupyter/issues/3364. I could send a PR for this if you want. Thank you very much !