Dgdebug for automation

Oops, I forgot to reply to this!

It’s currently possible internally. There would need to be commands added to control it interactively.