Hi Mohit,
This would be a good place to start: https://docs.mendix.com/howto/monitoring-troubleshooting/debug-java-actions
I followed these steps exactly and it works for me.
Good luck
Henro