fix/ Karma configuration to debug easily

Keep karma executing in iframe but enable node integration in subframes
Specifying the remote debugging port by default to allow intellij to detect the debuging port
This commit is contained in:
Dorian Boulc'h
2020-05-02 00:00:14 +02:00
committed by GitHub
parent 63eed520f2
commit 273e75200a

View File

@@ -30,16 +30,17 @@ module.exports = function (config) {
customLaunchers: {
AngularElectron: {
base: 'Electron',
flags: [
'--remote-debugging-port=9222'
],
browserWindowOptions: {
webPreferences: {
nodeIntegration: true,
nodeIntegrationInSubFrames: true,
allowRunningInsecureContent: true
}
}
}
},
client: {
useIframe: false
}
});
};