Improves debug messages on console