How to set the debug session timeout value?

when we using the theia debug in java, the debug session is easily lost in front but the application is running in the backend, for example, the debug status will be lost after refresh current page, we have to kill the application and restart the debug, it is boring. my question how to set debug session timeout value?

[original thread by 宁 郑]

All debug sessions are stopped on page refresh. It could be that java debug adapter does not clean up properly and leave the application running.

Is there a way to reproduce it from sources?

[HuZhengWei]

@gloomuu hi brother, can you tell me java-debug extensions how can installed.
@gloomuu 求教大佬,你的java-debug是怎么装上的?

[宁 郑]

what’s the problem you met, use the theia default java-debug extension or vs code java debug plugin, both are working.

[HuZhengWei]

@gloomuu I use docker image theia-java start it, This extensions java-debug are not included in this image, So I want add this extensions, But no success.

[宁 郑]

seems the docker does not include the java-debug, please try build from source, we are working on this way.

[宁 郑]

I will try it from raw source, we did some change on the source code, maybe it caused this problem, thanks!