Skip to content

How do I show Debug-Adapter messages to theia user? #7786

Answered by tsiyona
tsiyona asked this question in General
Discussion options

You must be logged in to vote

No, it is not something that should be aligned with VS Code.

We wrote a theia extension which contributes a 'DebugAdapterContribution' that does rely on VS Code code, as follows:

Then we start a server listening on a tcp port (3456, in the example), and thus serves theia debug requests.

When we start that debug server, I would like to notify theia user upon errors (eg. failure to connect to our backend).
I would like to notify theia user about fatal errors ocurring during a debug session as well.
The only means I have now to do so are error DAP responses or DAP 'output' event. In both cases, the error message is not displayed to the user.

I saw that DAP DebugProtocol.Message has an attri…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@vince-fugnitto
Comment options

@akosyakov
Comment options

@vince-fugnitto
Comment options

@tsiyona
Comment options

@akosyakov
Comment options

Answer selected by vince-fugnitto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants