Start debugger after an error occurs

I am running for cycle where I load text data files and post process them. One of the files is corrupted and I got an error.

Is there possibility to run the julia program in vscode and start debbuging after the error. St like matlabs dbstop if error.

Yes. Run your code trough the VSC debugger interface with @run your-fun-call() and it will stop at the error site.

1 Like