wip to debug debugging (working better now! but incomplete)