How do I enable DEBUG logging for the Network Manager?

Edit the following file:

/etc/NetworkManager/NetworkManager.conf

Add the following text to the end of the file:

[logging]
level=DEBUG

Save the file, then restart the Network Manager:

sudo systemctl restart NetworkManager

Don't forget to undo your change and restart the Network Manager again once you're done!