Add debug.prompt function for Scripting