Added method to enable debug console.