add debug command

this is just for debugging, do not merge