Make --enable-debug turn on full debugging information, and --disable-optimize disable all optimizations.