rename --enable-debug-mode to --enable-debug