Added enable-debug option