Skip to content

Commit

Permalink
add Karma "ChromeDebug" custom launcher for VSCode [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Mar 8, 2018
1 parent 85cb5c1 commit 3d09381
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ module.exports = config => {
},
mochaReporter: {
showDiff: true
},
customLaunchers: {
ChromeDebug: {
base: 'Chrome',
flags: ['--remote-debugging-port=9333']
}
}
};

Expand Down Expand Up @@ -162,7 +168,7 @@ function addSauceTests (cfg) {
platform: platform
};
return acc;
}, {});
}, cfg.customLaunchers);

// See https://github.com/karma-runner/karma-sauce-launcher
// See https://github.com/bermi/sauce-connect-launcher#advanced-usage
Expand Down

0 comments on commit 3d09381

Please sign in to comment.