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

vscode debugger example #60

Closed
molvqingtai opened this issue Jul 12, 2022 · 0 comments
Closed

vscode debugger example #60

molvqingtai opened this issue Jul 12, 2022 · 0 comments
Labels
enhancement New feature or request pending triage

Comments

@molvqingtai
Copy link

Feature request

Can you provide a vscode debugger example?

Why?

package.json

"scripts": {
    "build": "tsx build/index.ts",
}

.vscode/launch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Launch via NPM",
      "request": "launch",
      "runtimeArgs": ["run-script", "build"],
      "runtimeExecutable": "npm",
      "skipFiles": ["<node_internals>/**"],
      "type": "node"
    }
  ]
}

I configured it as above, the breakpoints are not using the source map, the debugger is displayed in index.js

Alternatives

Additional context

No response

@molvqingtai molvqingtai added enhancement New feature or request pending triage labels Jul 12, 2022
Repository owner locked and limited conversation to collaborators Jul 12, 2022
@privatenumber privatenumber converted this issue into discussion #61 Jul 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request pending triage
Projects
None yet
Development

No branches or pull requests

1 participant