Adding IIS UrlRewrite seems to break debugging on local IIS server

前端 未结 6 664
耶瑟儿~
耶瑟儿~ 2021-02-04 11:25

This issue is driving me insane: I was working on a recently created project and suddenly I was unable to debug that specific project.

I\'m using a local IIS 7.5 with t

6条回答
  •  春和景丽
    2021-02-04 11:38

    I was having the same problem. I couldn't start my project to debug in visual studio. I followed more than one instruction you guys gave.

    First of all I had to create a rule to ignore the page /debugattach.aspx, just as @Kirk Woll said.

    Second, I had to follow the Doug instruction. My project was pointed to start action through the page "index.aspx", and my rule is created to remove the aspx extension. So, changing the start page to the page already formatted (with no .aspx) it worked perfectly.

    Ps. 1: I have more than 5 rules in my project, I've isolated one by one to identify which rule was causing the problem, and I figured out that the rule that was causing the problem was the rule that removes the aspx extension.

    Ps. 2: Even correcting the project start page, it still not working, it only worked when I added the rule that ignores the page /debugattach.aspx.

    Ps. 3: I hadn't to change any of my rules to match some pattern that I should ignore

提交回复
热议问题