I am debugging protractor solution in Visual Studio code. How can I do to pass the baseUrl parameter in the launch.json file?
This is the protractor.conf.js file.
exports.config = { seleniumAddress: 'http://localhost:4444/wd/hub', //baseUrl: 'xxx', ... };
This is my launch.json file:
{ "version": "0.1.0", "configurations": [ { "name": "Launch e2e Tests", "type": "node", "program": "node_modules/protractor/lib/cli.js", "stopOnEntry": false, "args": ["protractor.conf.js","--baseUrl='pippo'" ], "cwd": ".", "runtimeExecutable": null, "isShellCommand": true, "runtimeArgs": [], "env": { }, "sourceMaps": false, "outDir": null } ] }
source share