Debugging premise: vs2008 write OCX control for JS call, single OCX depends on the library file only on the remote computer, at this time need to remote debugging program
1.
remote computer installation Remote debugger: Remotely Debugger, VS2008 installation directory can be copied directly C:\Program Files\Microsoft Visual Studio 9.0\common7\ide\remote Debugger under the X86 directory, (X64 corresponds to 64-bit machine);
2, for local and remote computers to ensure that DCOM distributed services are open, can be opened through the Control Panel services
3, run the VS remote Debugging Monitor Msvsmon.exe, while running the remote machine to debug the target program,
4. Set the remote debugger transport authentication Mode tools->options
Select No Authentication click OK
5, VS2008 Debugging-"attachment to the process"
Click Attach can, if debugging JS need to add IE main process in
Note: The program and the PDF file of the program must be in accordance with the remote debugging machine to be debugged.