Debug Mode done

Refer to displayParameters() function in debug.js to add in new
parameters