Setting up some debug stuff