File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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+
10031015exports . setNoWrap = ( _bsConfig , args ) => {
10041016 if ( args . noWrap === true || this . searchForOption ( '--no-wrap' ) ) {
10051017 process . env . SYNC_NO_WRAP = true ;
You can’t perform that action at this time.
0 commit comments