Adds debugging mode check.c