added the missing debug.cpp file