pub fn enable_debug(cwd: &Path) -> Result<(), InstallError>Expand description
Set lfs.customtransfer.<agent>.args = debug so the next time git
invokes the agent it forwards the debug argv slot, switching the
agent’s logging from stderr to a file in <git-dir>/lfs/tmp/.
Idempotent: re-running on a repo that already has the key set to
debug is a no-op (#198).
§Errors
Returns InstallError::Git if writing the config entry fails.