Configuring the Timeout-period for Debugger in VS2

2019-03-01 12:37发布

问题:

Im using a C#-Service in a Delphi application, the problem is that VS stops the debugger if i dont click anything for some time.

It looks like a debugging-timeout issue but i can not find any related configuration in VS for this. Does anybody know if there is such a Configuration and where is it?

Thanks for your Help.

回答1:

Well guess i found the answer:

One have to stop the process status check by disabling the pinging property by following command:

appcmd set apppool /apppool.name: string /processModel.pingingEnabled: false

Or using the UI by:

  1. Open IIS Manager

  2. On the Connections pane, expand the server node and click Application Pools.

  3. On the Application Pools page, select the application pool and then click Advanced Settings in the Actions pane.

  4. For the Pinging Enabled property, select False to disable pinging, and then click OK.