To set up WebStorm for Protractor, do the following:
- Open the Run/Debug Configurations dialog
- Add new Node.js configuration.
- On the Configuration tab set:
- Node Interpreter: path to node executable
- Working directory: your project base path
- JavaScript file: path to Protractor cli.js file (e.g. node_modules\protractor\lib\cli.js)
- Application parameters: path to your Protractor configuration file (e.g. protractorConfig.js)
- Click OK, place some breakpoints, and start debugging.
No comments:
Post a Comment