Adds debugging