Question on Service Debugger behavior when Policy Manager and Gateway are disconnected

Document ID : KB000076436
Last Modified Date : 04/04/2018
Show Technical Document Details
Question:
Suppose that following situation when using Service Debugger from Policy Manager:
 
Step 1. Service Debugger is started for a service.
Step 2. A request message is sent to the endpoint of the service.
Step 3. The debugger is stopping at a breakpoint.
Step 4. Connection between Policy Manager and API Gateway gets lost due to some network error.

In the Gateway node, will the service and the attached debugger be terminated?
Environment:
API Gateway 9.2
Answer:
Yes. According to our design specification, there is a clean up task in the SSG that runs periodically that removes debugger sessions that have been inactive for a certain amount of time.

By default, the clean up task runs every 24hr+1min, and terminates debugger sessions which have been inactive for 24hrs.
These values can be overridden in system.properties file by setting properties below.
(1) com.l7tech.server.stepdebug.inactiveSessionCleanIntervalMillis
(2) com.l7tech.server.stepdebug.inactiveSessionTimeoutMillis

Notes:
It's not advisable to do debugging on Production environment.