Is there a way to make executionTimeout take effect while debugging?

后端 未结 3 392
生来不讨喜
生来不讨喜 2021-01-14 12:42

I would like to debug a website, but also cause the httpRuntime executionTimeout setting to take effect. However, the documentation says:

This time-o

3条回答
  •  误落风尘
    2021-01-14 13:07

    After more than a week of searching and trying various hacks, I'm confident in saying that, as of now, there is no reasonable way to have the httpRuntime executionTimeout setting take effect while the compilation debug flag is set to true.

    One possible terrible hack workaround is to somehow trick the system into thinking that more than 30,000,000 seconds (just over 347 days) have elapsed, which is what executionTimeout is overridden to when debug is true.

提交回复
热议问题