Just dumps out what you pass to it and terminates the script. You can pass FALSE as the second argument to prevent debug from exiting the script.