Debug zx script in vscode #267
Replies: 4 comments
-
What works for me is using the JavaScript Debug Terminal. |
Beta Was this translation helpful? Give feedback.
-
example: https://github.com/TBXark/github-backup/blob/master/package.json |
Beta Was this translation helpful? Give feedback.
-
you can use JavaScript Debug Terminal that works :) |
Beta Was this translation helpful? Give feedback.
-
I managed to get it working by starting with the standard So this is my {
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "zx launcher",
"skipFiles": [
"<node_internals>/**"
],
"runtimeExecutable": "${env:HOME}/.asdf/shims/zx",
"program": "${workspaceFolder}/../../bin/cleanup-branches.spec.mjs"
}
]
} |
Beta Was this translation helpful? Give feedback.
-
Is it possible to debug a zx script in vscode? Can anyone post a launch.json for reference?
Beta Was this translation helpful? Give feedback.
All reactions