The main thumb rule for debug and release is:
1. Debug mode attach the debug information to the application. So that if you have the break point attached to the application, it will break at that point when running.
This is the reason, when the application is built using debug mode, it will be slow.
2. Release mode doesn't keep the debug information so if there is any break-point, it will skip and the application will run without considering the break-point.
When the application is built in release mode, it is faster.
That's why when we develop the application, we need to keep it in debug mode to check and when we deploy, then make it built with the release mode.
Hope it will be helpful to you.
Pawan Awasthi(DNS MVM)
+91 8123489140 (whatsApp), +60 14365 1476(Malaysia)