game: add debugging support

only path debugging support for now