Yes, you need DEBUGIN and DEBUG defines.

I am giving you this stuff from memory and evidently I have forgotton something. When I get back to the shop tonight I will test it and see what I am missing.

Maybe someone will fill in my blanks