How to use class as member variable with arduino

Arduino best practice would be to use Serial directly or use some wrapper class based on Print class which only requires to implement write(byte). But the API of Print class is different then yours. There are libraries which create similar printing API as your Debug class.

EDIT: const type parameter can always be used with not const input