Hi Rahul Kumar,
Nanoflow will not support debugging like microflow. For development purposes, You can use the Show message activity to track the issue where it's throwing errors like this.
For your reference, I will share the doc link regarding your question.
In old Mendix version this feature(nanoflow debugging) was not added.
You can try in latest Mendix Studio Pro 9.0.5 and above