Add debug logging to the installer