Skip to content

Debug Console no longer shows output. Debugger no longer stops at break points. #605

@ghost

Description

Describe the bug
Environment: Windows
Language: node.js

The Debug Console no longer shows output. The Debugger no longer stops at breakpoints. Both worked before 1.47.0. If something isn't broken it has definitely changed and I can't find any new instructions.

To Reproduce
Steps to reproduce the behavior:

Add a breakpoint in the simple app.js server below.
Click the Launch Program button with green arrow in the upper left corner.

app.js file contents:
const express = require('express');
const app = express();
app.listen('8080', function(){
console.log('app.js listening on port 8080');
});

launch.json contents:
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}\app.js"
}
]
}

Debug Console output:
"C:\Program Files\nodejs\node.exe" "c:\myapplication\app.js"
Debugger listening on ws://127.0.0.1:55255/d00d13f2-7e6f-42f2-8e60-246b0e3d07f2
For help see https://nodejs.org/en/docs/inspector

Debug Console output no longer includes console.log app.js listening on port 8080, On program launch breakpoints change from red dots to hollow grey circles and are no longer stopped at.

Log File

VS Code Version: 1.47.1

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions