Added setPrompt and setDebug helper functions