Skip to content

Commit 92eb8ec

Browse files
authored
Merge pull request #475 from dorianboulch/patch-1
fix/ Karma configuration to debug easily
2 parents 63eed52 + 273e752 commit 92eb8ec

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/karma.conf.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,17 @@ module.exports = function (config) {
3030
customLaunchers: {
3131
AngularElectron: {
3232
base: 'Electron',
33+
flags: [
34+
'--remote-debugging-port=9222'
35+
],
3336
browserWindowOptions: {
3437
webPreferences: {
3538
nodeIntegration: true,
39+
nodeIntegrationInSubFrames: true,
3640
allowRunningInsecureContent: true
3741
}
3842
}
3943
}
40-
},
41-
client: {
42-
useIframe: false
4344
}
4445
});
4546
};

0 commit comments

Comments
 (0)