Drop --enable-debug, it has side effects
Revert "Keep the configuration file path independent of debug"

No longer needed

This reverts commit 45c15db19bafe66638891bffe5e12af8de72b03c.