Skip to content

Commit 3bf7b0f

Browse files
committed
added caps
1 parent 2fefbd2 commit 3bf7b0f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

bin/commands/runs.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ module.exports = function run(args, rawArgs) {
129129
// set the no-wrap
130130
utils.setNoWrap(bsConfig, args);
131131

132+
// set the interactive debugging capability
133+
utils.setInteractiveCapability(bsConfig);
134+
132135
// add cypress dependency if missing
133136
utils.setCypressNpmDependency(bsConfig);
134137
}

bin/helpers/utils.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,18 @@ exports.setHeaded = (bsConfig, args) => {
10001000
logger.debug(`headless mode set to ${bsConfig.run_settings.headless}`);
10011001
};
10021002

1003+
exports.setInteractiveCapability = (bsConfig) => {
1004+
let interactiveDegugging = true;
1005+
if(bsConfig.interactive_debugging != undefined) {
1006+
interactiveDegugging = bsConfig.interactive_debugging;
1007+
}
1008+
if(bsConfig.interactiveDegugging != undefined) {
1009+
interactiveDegugging = bsConfig.interactiveDegugging;
1010+
}
1011+
console.log(`roshan1: the interactiveDegugging ${interactiveDegugging} ::`);
1012+
bsConfig.interactiveDegugging = interactiveDegugging;
1013+
}
1014+
10031015
exports.setNoWrap = (_bsConfig, args) => {
10041016
if (args.noWrap === true || this.searchForOption('--no-wrap')) {
10051017
process.env.SYNC_NO_WRAP = true;

0 commit comments

Comments
 (0)