-d option to attach. Also fix CC in Makefile and make it build with DEBUG again.

4 files changed