add debug/ scope
modify makefile