Added a function to help print debug messages.