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

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

Merged
merged 2 commits into from
Sep 17, 2018
Merged

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

merged 2 commits into from
Sep 17, 2018

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.

None yet

3 participants