File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class Api extends Emittery {
6969 const pendingWorkers = new Set ( ) ;
7070 const timedOutWorkerFiles = new Set ( ) ;
7171 let restartTimer ;
72- if ( apiOptions . timeout ) {
72+ if ( apiOptions . timeout && ! apiOptions . debug ) {
7373 const timeout = ms ( apiOptions . timeout ) ;
7474
7575 restartTimer = debounce ( ( ) => {
Original file line number Diff line number Diff line change @@ -219,6 +219,10 @@ exports.run = async () => { // eslint-disable-line complexity
219219 if ( isCi ) {
220220 exit ( 'Debugging is not available in CI.' ) ;
221221 }
222+
223+ if ( combined . timeout ) {
224+ console . log ( chalk . magenta ( ` ${ figures . warning } The timeout option has been disabled to help with debugging.` ) ) ;
225+ }
222226 }
223227
224228 if ( Reflect . has ( combined , 'concurrency' ) && ( ! Number . isInteger ( combined . concurrency ) || combined . concurrency < 0 ) ) {
You can’t perform that action at this time.
0 commit comments