Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Debugging in vscode not working with hello-world #120

Closed
DaelDe opened this issue Oct 12, 2022 · 2 comments
Closed

Debugging in vscode not working with hello-world #120

DaelDe opened this issue Oct 12, 2022 · 2 comments

Comments

@DaelDe
Copy link

DaelDe commented Oct 12, 2022

I did the following:

  1. checkout of hello-world
  2. npm install
  3. npm run build
  4. /bin/run to verify everything

So far works fine.

Now I added launch.json:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "program": "${workspaceFolder}\\bin\\run",
            "args": [
              "hello",
              "world",
            ],
        }
    ]
}

and set a breakpoint in world.ts:17 (run()).
The debugger never hits the breakpoint in the TS file.

How can I debug oclif projects in vs code?

@git2gus
Copy link

git2gus bot commented Oct 12, 2022

Git2Gus App is installed but the .git2gus/config.json doesn't exist.

@DaelDe
Copy link
Author

DaelDe commented Oct 12, 2022

duplicate of oclif/oclif#997

@DaelDe DaelDe closed this as completed Oct 12, 2022
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