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

Manifest files break VSCode debugger #1249

Open
daymxn opened this issue Nov 25, 2024 · 0 comments
Open

Manifest files break VSCode debugger #1249

daymxn opened this issue Nov 25, 2024 · 0 comments
Labels
help wanted Accepting PRs

Comments

@daymxn
Copy link

daymxn commented Nov 25, 2024

Describe the bug
When a manifest (oclif.manifest.json) file is present, breakpoints don't get tripped via VSCode's debugger.

To Reproduce

  1. Generate a manifest file with oclif manifest
  2. Set up a breakpoint somewhere in your source code
  3. Create a launch configuration for attaching
{
  "type": "node",
  "request": "launch",
  "name": "Execute Command",
  "skipFiles": ["<node_internals>/**"],
  "runtimeExecutable": "node",
  "runtimeArgs": ["--loader", "ts-node/esm", "--no-warnings=ExperimentalWarning"],
  "program": "${workspaceFolder}/bin/dev.js",
  "args": ["hello:world"]
}
  1. Run your launch configuration in VSCode

Expected behavior
Breakpoints should trip, even when a manifest file is present.

Environment (please complete the following information):

  • OS & version: Windows 10
  • Shell/terminal & version: Windows Terminal w/ powershell
@mdonnalley mdonnalley added the help wanted Accepting PRs label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Accepting PRs
Projects
None yet
Development

No branches or pull requests

2 participants