点击vs的Debug-Attach to Process选中 w3wp.exe,然后点击Attach, vs便进入debug模式。 转载于:https://www.cnblogs.com/johnblogs/p/6093131.html