jest-test-debug-vscode
- Find the test file and test pattern you want to test.
It is good to debug individual "test"
for example:
If I want to test only below
Using lerna we use following command
lerna exec --scope=<package_name> 'yarn test Configuration.test -- -t "Test update value"'
- To test with vscode debugger update the package path and test args under
.vscode/launch.json
- And run the default test.
Don't push the changes as it is for your internal testing only.
- Put debugger where you want to debug.