How to increase the Appium Inspector timeout for a session[URGENT]

How can I increase the session timeout in appium desktop app.!

which appium desktop version you are using?

Appium Desktop version is 1.6.2

i also face the same issue in appium 1.6.0, when i start a session to inspect elements, after some time session get closed due to inactivity.
if it’s same issue then you can downgrade to 1.5.0 appium desktop version, which doesn’t have the above issue.

Sure i will try it and update the post.

how about setCapability(“newCommandTimeout”, 1800);?