当我使用 VSCode 交互式 Python 时,有时会收到以下消息:
Output exceeds the size limit. Open the full output data in a text editor
它包含指向设置和文本编辑器的链接。然而,我常用的文本编辑器充满了未渲染的 unicode 符号,并且完全不可读(它应该显示错误的回溯)。
同时,这些设置不包含 Jupyter 的最大输出大小,这是在这篇文章中建议的:VS Code and Jupyter Notebook - how to open large output in text editor?
我该怎么做才能完整显示回溯?