Now debug flag is working.