Skip to content

How can I add a breakpoint to debug my code? #4448

Answered by debs-obrien
debs-obrien asked this question in FAQ
Discussion options

You must be logged in to vote

You should configure launch.json with the config below:

{
      "type": "node",
      "request": "launch",
      "name": "run some extension",
      "program": "${workspaceFolder}/node_modules/@teambit/bit/dist/app.js",
      "args": ["status"],
      "console": "integratedTerminal",
      "sourceMaps": true,
      "internalConsoleOptions": "neverOpen",
      "cwd": "${workspaceFolder}"
    },

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by debs-obrien
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants