无法自动调试 未能调试远程过程。这通常说明未在服务器上启用调试 WCF 托管在IIS上

 

解决方案,把新建的网站的app.config修改下配置

<system.web>
<!-- 
设置 compilation debug="true" 可将调试符号插入 
已编译的页面中。由于这会 
影响性能,因此请只在开发过程中将此值 
设置为 true。
-->
<compilation debug="false">
</compilation>
</system.web>

把false改为true

 

之后再启动客户端的话,会提示这个

Security Warning: Attaching to a process owned by an untrusted user can be dangerous. If the following information looks suspicious or you are unsure, do not attach to this process

 

选择附加就可以了

posted @ 2015-07-16 10:42  ChuckLu  阅读(1164)  评论(0编辑  收藏  举报