Created
May 12, 2020 13:22
-
-
Save inigomarquinez/b18141c4326d3164c515230d146b4f27 to your computer and use it in GitHub Desktop.
How to configure Visual Studio Code for Cypress test debugging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
// Configuration used to debug the application (default configuration created by Visual Studio Code ) | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Launch Chrome against localhost", | |
"url": "http://localhost:3000", | |
"webRoot": "${workspaceFolder}" | |
}, | |
// Configuration used to debug Cypress tests | |
{ | |
"type": "chrome", | |
"request": "attach", | |
"name": "Attach to Cypress", | |
"port": 9222, | |
"url": "http://localhost*", | |
"webRoot": "${workspaceFolder}/src", | |
"sourceMaps": true, | |
"skipFiles": [ | |
"cypress_runner.js", | |
], | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment