Very slow debugging reading files

Hello!

I am trying to go through my code step by step in VSCode and find it unbearably slow when it reaches a section in which it reads from files. As a matter of fact, I cannot debug at all because I had to wait for the whole section to finish at least 30 min, and I don’t have that much time.

What I am doing is go step by step copypasting the code from the editor into a REPL, and try to descend lower when I reach a function in top-level module that does not produce the desired results. Is there a good way to do this?

Thanks!

1 Like

This advice Debugging in Juno extremely slow - #4 by tim.holy for Juno applies equally well to VSCode, it may help your case.

1 Like

From my point of view the REPL Debbuger is faster (especially with compiled mode)

1 Like

This link may be useful