The send('initialize') request could resolve later than on('initialized') emits the event.
Hence, the configure would use the empty object capabilities.
Using the empty capabilities could result in missing exception breakpoint filters, as
always capabilities.exceptionBreakpointFilters is falsy. This deferred promise works
around this timing issue. https://github.com/eclipse-theia/theia/issues/11886
Returns the top-most parent session that is responsible for the console. If this session uses a separate console
or does not have any parent session, undefined is returned.
The
send('initialize')
request could resolve later thanon('initialized')
emits the event. Hence, theconfigure
would use the empty objectcapabilities
. Using the emptycapabilities
could result in missing exception breakpoint filters, as alwayscapabilities.exceptionBreakpointFilters
is falsy. This deferred promise works around this timing issue. https://github.com/eclipse-theia/theia/issues/11886