Enable debug privileges in Windows 7 (other Windows versions are quite the same):
Control Panel >> [Administrative Tools] >> [Local Security Policy]
Then, per the screens below, go to :
Security Settings>>Local Policies>>User Right Assignment>>Debug Programs
Add “Authenticated Users” or particular user name you use to the DEBUG group in this screen.
Once you have made this change, restart PC.