Since very recently I have a problem where the output of %%prun is not displayed properly in VS Code Jupyter (all output is on one line instead of in a nicely formatted table).
I tried reloading the window and restarting Jupyter but the problem still appears.
What could be causing the problem?

The workaround I'm using at the moment is saving the %prun output to a separate file and inspecting that file.