Skip to content

process.stdout.write calls don't show in the console from node2 debug sessions #19750

@jdforsythe

Description

@jdforsythe
  • VSCode Version: 1.9.0
  • OS Version: Windows 10

Steps to Reproduce:

  1. Launch debug task
  2. Watch debug console

The new update appears to have broken the debug output. Previously we would get the following when launching the debug task:

node --inspect=30770 --debug-brk --nolazy debugall.js 
Debugger listening on port 30770.
Warning: This is an experimental feature and could change at any time.

This would then be followed by the normal debug output from our project. Now when we run the debug task, the above is the only thing showing in the debug console. The application functions normally so it is running, but no output is shown.

launch.json:

{
  "version": "0.1.0",
  "configurations": [
    {
      "name": "Debug All",
      "type": "node2",
      "program": "${workspaceRoot}/debugall.js",
      "stopOnEntry": false,
      "args": [],
      "cwd": "${workspaceRoot}/",
      "runtimeExecutable": null,
      "runtimeArgs": [
        "--nolazy"
      ],
      "env": {
        "NODE_ENV": "development",
        "LOGSQL": "false",
        "USE_COMPRESSION": "false",
      },
      "sourceMaps": false,
      "outDir": null,
      "console": "internalConsole"
    }
  ]
}

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions