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:
@@ -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