Skip to content
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

Debug Console only shows output written to stderr (node2) #20093

Closed
nsgundy opened this issue Feb 7, 2017 · 1 comment
Closed

Debug Console only shows output written to stderr (node2) #20093

nsgundy opened this issue Feb 7, 2017 · 1 comment

Comments

@nsgundy
Copy link

nsgundy commented Feb 7, 2017

  • VSCode Version: 1.9.0
  • OS Version: Windows 10

Only stderr is showing on the Debug Console when using the node2 debug adapter. Anything written to stdout (i.e. by process.stdout.write() used by winston) is missing. Seems to have been introduced with 1.9.0.

Here is the launch config I use:

        {
            "type": "node2",
            "request": "launch",
            "name": "Launch Program",
            "program": "${workspaceRoot}\\server\\main.js",
            "cwd": "${workspaceRoot}",
            "sourceMaps": true,
            "smartStep": true,
            "internalConsoleOptions": "openOnSessionStart"
        }

Using "type": "node" instead shows output written to stdout just fine.

@nsgundy
Copy link
Author

nsgundy commented Feb 7, 2017

Sorry, seems to be a duplicate of #19750.

@nsgundy nsgundy closed this as completed Feb 7, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant