OS X debugging support

This commit is contained in:
Scott E. Graves
2018-10-05 23:32:08 -05:00
parent ffe9a08f27
commit addc65d324

View File

@@ -226,7 +226,7 @@ module.exports = {
port: 3000,
openOptions: {
app: [
process.platform === 'win32' ? 'chrome' : 'google-chrome-stable',
process.platform === 'win32' ? 'chrome' : process.platform === 'darwin' ? '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' : 'google-chrome-stable',
'--disable-web-security',
'--user-data-dir=' + path.resolve(chromeUserDataDir)
]