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 Jest test debugging in vsCode #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

akrigline
Copy link
Contributor

This Adds a .vscode directory with a launch.json config file per the example here.

It'll allow you to run tests with debugging enabled within VSCode.

To Test:

  1. Start the debugger in VSCode "Debug Jest Tests".
  2. Add a breakpoint to a test file (click to the left of the line number)
  3. In the vscode terminal, hit a to run all tests. By default it will watch only the files that have changed from the last commit.

@dfagan2
Copy link
Contributor

dfagan2 commented Jul 18, 2018

@akrigline , while cool, I'd vote for this being an optional add on at the project level, not here in Gantry. I don't think our starter kit should have any concept baked in of which IDE, because a) someone might not being using VSCode, and b) a year from now VSCode might be "so last year"

@stuarttannehill-rp - thoughts?

@dfagan2 dfagan2 mentioned this pull request Jul 18, 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.

2 participants