Add `--debug` configure option to build with debugging support in PETSc, spatialdata, and PyLith. Keep other dependencies optimized.