Add debug mode in makefile
Continue work. Crucial fixes