Merge pull request #475 from dorianboulch/patch-1
fix/ Karma configuration to debug easily
This commit is contained in:
@@ -30,16 +30,17 @@ module.exports = function (config) {
|
|||||||
customLaunchers: {
|
customLaunchers: {
|
||||||
AngularElectron: {
|
AngularElectron: {
|
||||||
base: 'Electron',
|
base: 'Electron',
|
||||||
|
flags: [
|
||||||
|
'--remote-debugging-port=9222'
|
||||||
|
],
|
||||||
browserWindowOptions: {
|
browserWindowOptions: {
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
|
nodeIntegrationInSubFrames: true,
|
||||||
allowRunningInsecureContent: true
|
allowRunningInsecureContent: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
client: {
|
|
||||||
useIframe: false
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user