简体   繁体   English

VS 2008中远程服务器上托管的调试网站

[英]Debugging website hosted on a remote server in VS 2008

I have website (setup on IIS) in a VPS setting. 我的网站(在IIS上设置)处于VPS设置。 Since I dont have VS installed on the VPS, I would like to connect it from my dev machine and debug the source code. 由于我没有在VPS上安装VS,因此我想从我的开发机上连接它并调试源代码。

From my dev machine, I opened up VS 2008 and did File -> Open Website -> specified the http address and clicked OK. 在我的开发机上,我打开了VS 2008,然后执行文件->打开网站->指定http地址,然后单击确定。 I get the error 我得到错误

"Unable to open the website 'http://xxx..'. The Web server does not have the FrontPage Server extensions installed"
  1. Is this the correct way of debugging a website hosted remotely? 这是调试远程托管网站的正确方法吗?
  2. I have IIS 6.0 on the VPS. 我在VPS上具有IIS 6.0。 When I go to Add Remove Progrsms -> Add remove Windows Components -> Application Server -> IIS, I was expecting to see FrontPage Server Extensions. 当我去添加删除程序->添加删除Windows组件->应用程序服务器-> IIS时,我期望看到FrontPage服务器扩展。 I do not. 我不。

FrontPage extensions are for developing (or rather managing pages and adminstration of) a website, not debugging it. FrontPage扩展用于开发 (或管理页面和管理网站)而不是调试网站。

You need to have a debugging host setup on the remote server and have the correct permissions and ports open between the server and development machine. 您需要在远程服务器上安装调试主机,并在服务器和开发计算机之间打开正确的权限和端口。

Here are a couple of articles with deatils of how to set this up. 这里有几个文章有如何设置此deatils。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM