Can you debug script code remotely using Visual Studio 2010?
I am facing a JavaScript issue that only occurs on IE6/IE7. Since I am working on Windows 7 (64-bit), I can only install IE6 and 7 as Virtual Machines.
I have set up remote debugging between my development machine and the Virtual Machine and successfully attached to the IEXPLORE process, but I am unable to debug it as Script code.
In VS2010, when I go to Debug | Attach to Process and try to attach to the IEXPLORE process on the remote machine, VS2010 lists it as x86 type (Script is not displayed). When I press Select to choose the Code Type, the options do NOT include the script option (only Managed, Native, Silverlight, T-SQL, Workflow).
Even though the debugger is attached to the remote process, it is not debugging the script, so my breakpoints are not being hit.
I have enabled debugging in Internet Explorer on the Virtual Machine as well.
This page http://msdn.microsoft.com/en-us/library/bb385613.aspx mentions that remote debugging of Script code is possible. However, I am having trouble getting it to work. Any suggestions would be greatly appreciated.