Change log to debug and enable debug by default