Added --enable-debug flag