Get debug start notification in extension backend

I have an extension for theia. In that extension’s backend, I would like to recieve notification or event whenever debug session starts. Can anyone provide inputs on this?
Thanks in advance !

Debug sessions lives in the frontend since they are bound to user session.

Thank you, @akosyakov.

You mentioned “Debug sessions lives in the frontend since they are bound to user session.”

So, if when I receive a debug session event in the frontend, i shall call a method in the backend to perform some action. hope this is okay(?).

In this case, could you please advise me where in the frontend, the event could be subscribed to?
I would like to use similar pattern that is used in theia…

yes, it sounds good

There is DebugSessionManager.onDidStartDebugSession: https://github.com/eclipse-theia/theia/blob/e2df38527582adcf49941ff8f1ae4e4f6fbd66f7/packages/debug/src/browser/debug-session-manager.ts#L78