Skip to content

Added recipe for debugging node-tap tests in VSCode#128

Merged
auchenberg merged 2 commits intomicrosoft:masterfrom
trivikr:vscode-recipe-tap
Sep 17, 2018
Merged

Added recipe for debugging node-tap tests in VSCode#128
auchenberg merged 2 commits intomicrosoft:masterfrom
trivikr:vscode-recipe-tap

Conversation

@trivikr
Copy link
Contributor

@trivikr trivikr commented Sep 8, 2018

Refs: #125

@msftclas
Copy link

msftclas commented Sep 8, 2018

CLA assistant check
All CLA requirements met.

@trivikr
Copy link
Contributor Author

trivikr commented Sep 15, 2018

Any update on this PR?

@auchenberg
Copy link
Contributor

This PR seems to be a copy/paste of the Jest recipe. What's the specific's to node-tap?

@trivikr
Copy link
Contributor Author

trivikr commented Sep 16, 2018

The launch configuration is different for node-tap:

{
    "type": "node",
    "request": "launch",
    "name": "Tap current file",
    "program": "${workspaceFolder}/${relativeFile}",
    "cwd": "${workspaceFolder}"
}

In case of Jest, the launch configuration is:

{
    "type": "node",
    "request": "launch",
    "name": "Jest Current File",
    "program": "${workspaceFolder}/node_modules/jest/bin/jest",
    "args": [
        "${relativeFile}"
    ],
    "console": "integratedTerminal",
    "internalConsoleOptions": "neverOpen"
}

@auchenberg
Copy link
Contributor

LGTM

@auchenberg auchenberg merged commit 6626b6e into microsoft:master Sep 17, 2018
@trivikr trivikr deleted the vscode-recipe-tap branch September 17, 2018 03:18
@auchenberg auchenberg added this to the September 2018 milestone Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants