Added in debugging to pi side
Added in debugging to pi side