Passing a single class instance to another class

_debug is a reference, not a pointer:

Your constructor expects a reference, not a pointer: