Add debugging to build