Create debug.js

Add a small debug status message printer