Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 8154adf

Browse files
Buthrakaurjuliemr
authored andcommitted
docs(debugging): add 'Setting up WebStorm for debugging' section
1 parent c025ddb commit 8154adf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: docs/debugging.md

+15
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,21 @@ used from the browser's console.
8080
// Should return the input element with model 'user.name'.
8181
```
8282

83+
84+
Setting up WebStorm for debugging
85+
---------------------------------
86+
87+
1. Open Run/Debug Configurations dialog
88+
2. Add new Node.js configuration
89+
3. On Configuration tab set:
90+
- **Node Interpreter**: path to node executable
91+
- **Working directory**: your project base path
92+
- **JavaScript file**: path to Protractor cli.js file (e.g. *node_modules\protractor\lib\cli.js*)
93+
- **Application parameters**: path to your Protractor configuration file (e.g.
94+
*protractorConfig.js*)
95+
4. Click OK, place some breakpoints and start debugging
96+
97+
8398
Testing out Protractor interactively
8499
------------------------------------
85100

0 commit comments

Comments
 (0)