compile and debug