Julia's new Debugger.jl is great, but it's kind of a pain to get to the exact point in code that I want to get to sometimes.
Is there a way I can enter an interactive debug mode, similar to what Python has in pdb.set_trace() or ipdb.set_trace()? For example, I'd love to be able to insert a line of code where I want the debugger to start, like so:
function myfunc(a, b)
# do stuff
set_trace() # interactive debug mode will start here
# do other stuff
end
p.s. I know that this is basically like setting a breakpoint in Juno, but 1) I can't always develop in Juno; and 2) I couldn't really get breakpoints to work well with Juno's debugger even after a lot of struggling. It might be my user error but I'm sure other Julia newbies will encounter the same problems and would love a solution like pdb.set_trace().