-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node program output no longer shown in Console view #1365
Comments
Is there anything that confirms that the program has run well (maybe some modified file or something else)? |
This happens with long-running programs as well. But it turns out the problem is that only certain kinds of logs don't appear. The project I'm working on uses a logger based winston; anything sent to those logs doesn't appear in the Console view, but anything sent to |
How does VSCode handle this case? Does it show all logs? |
Ah, interesting: it does show all logs, but only in the "Terminal" view, which is used only when launching the program via a "node-terminal" launch configuration. In all cases, any output shown the "Debug Console" view exhibits the same behaviour as WWD (i.e. it only shows |
OK. |
This may be related to https://github.com/microsoft/vscode-js-debug/blob/main/OPTIONS.md#outputcapture-1 |
Nice find! Setting Using the |
Do you think "std" should be the default in Wild Web Developer? |
Yes, because with the previous debug adapter, the Console used to show all output, making the new behaviour a regression. Also, unlike VSCode's Terminal view, there is no alternate view in WWD which displays more than just the |
OK. Would you like to submit a PR setting |
Fixes eclipse-wildwebdeveloper#1365 Signed-off-by: Andrew Ferrazzutti <[email protected]>
Fixes #1365 Signed-off-by: Andrew Ferrazzutti <[email protected]>
With WWD 1.3.1.202310101531, running or debugging a JS/TS file no longer has its standard output/error shown in the Console view.
All that's shown in the Console view is this:
followed by
once the program exits.
There is also another Console view created for the debug adapter, but that isn't for program output.
Notably, running the exact same command (and in the same working directory as what the Eclipse launch uses) from a separate terminal does show program output, so it's not as though there's an issue with the plugin's embedded Node.
The text was updated successfully, but these errors were encountered: