"bench disable-production" vs "bench --site site1.local set-config developer_mode 1"

Could anyone please help me understand the difference between the bench commands bench disable-production and bench --site site1.local set-config developer_mode 1

I have my ERPNext on a Debian VM (no GUI) hosted on GCloud and when I run bench disable-production I can’t access the site from my browser. I’m able to access it only when I run bench setup production

Any help in trying to explain this to me would be highly appreciated.