In order to enable clusterware resource debugging you need to set the resource attribute USR_ORA_DEBUG to 1 for the resource that you wish to debug.
$ crsctl set log res “ora.host01.vip:1”
When you are finished you issue almost the same command to disable the clusterware debugging (set USR_ORA_DEBUG to 0):
$ crsctl set log res “ora.host01.vip:0”
You can also use an initialization file to configure the debugging. This file is located at $GRID_HOME/log/hostname/admin/ and it is names after the process that you are debugging (process_name.ini).