Welcome to the community @seemarani ,
You cannot test connector rules locally. You have to upload the rule to your connector in IDN and then use the log files on the VA to debug. If you populate your connector rule with log statements, they will appear in the VA log files. Please see What is the correct way of debugging connector rules for more information about debugging connector rules.