microsoft / microsoft/vscode

Debugging with Node.js shows "Variable ${fileDirname} can not be resolved" when no editor is open

Open
#336,289 0 comments 0 reactions 1 assignee Claimed by @connor4312 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes

- VS Code Version: 1.137.0
- OS Version: macOS 27

Steps to Reproduce:

1. Click "Run and Debug" on an empty workspace
2. Select Node.js

The following alert appears:
Variable ${fileDirname} can not be resolved. Please open an editor.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.