Recently my system got crashed and IT guys installed windows Vista on it, by default they have disabled Advance Tab in Tools-> Internet Options. And I was unable to debug Javascript through my Visual Studio.
After searching the net for a while i found a registry key which opens that option:-
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Control Panel]
"AdvancedTab"=dword:00000000
Save this code as IE.reg and double click on it. After that I was able to view Advance Tab in IE and enabled javascript debugging in IE.
Just for refrence I am adding the path to enable javascript debugging in IE.
Tools-> Internet Options -> Advance -> Check Disable Script debugging (Internet Explorer)
Tools-> Internet Options -> Advance -> Check Disable Script debugging (Others)