Skip to content
Discussion options

You must be logged in to vote

Olá,

Is there any way for me to modify this so it works?

That's a great question, actually. The short answer is that you can't get the output in the console, but rather in the REPL.

That happens because the js-debug-adapter is full of quirks to handle multiple sessions. There's a root session, which then creates another session, to spawn the command that is specified in the configuration (e.g., for the configuration you provided, the package.json script is run). If the command then spawns another process, a new session is also created and so on.

But notably, these child sessions do not have an assigned terminal (the js-debug-adapter does not request one), which means that the "console v…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vinicius507
Comment options

@vinicius507
Comment options

@igorlfs
Comment options

Answer selected by vinicius507
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants