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

Add .vscode/launch.json for debugging #271

Merged
merged 2 commits into from
Aug 4, 2021

Conversation

OiYouYeahYou
Copy link
Collaborator

This change allows you to debug in and step through live code when testing

@Shinigami92 Shinigami92 added the type: enhancement Functionality that enhances existing features label Aug 4, 2021
@Shinigami92
Copy link
Member

I tested the first Jest single run all tests and it took 86.07s 👀

But when I run on terminal just yarn test it takes only around 13.56s

Are you sure that this is practical?

Never used VSCode launch.json before 🤔

@OiYouYeahYou
Copy link
Collaborator Author

Are you sure that this is practical?

It is a different experience when you can add breakpoints and step through, in and out of code in the editor and inspect values while doing it. Though if you use it personally, it can be helpful for other contributors, like myself.

@Shinigami92 Shinigami92 changed the title Add .VSCode/launch.json for debugging Add .vscode/launch.json for debugging Aug 4, 2021
@Shinigami92 Shinigami92 merged commit 998a192 into prettier:main Aug 4, 2021
@OiYouYeahYou OiYouYeahYou deleted the vscode-launch branch August 4, 2021 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Functionality that enhances existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants