Debug code added

The debug code that will allow data to be sent to a console.