Temporarily disable macOS System Integrity Protection (SIP)

When debugging a problem, it can become necessary to temporarily disable System Integrity Protection (SIP).

Disable System Integrity Protection by following this guide:
https://developer.apple.com/documentation/security/disabling_and_en...

You can check your current state in Terminal by entering csrutil status.