File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -337,16 +337,17 @@ class Lens extends Configurable {
337337
338338 // create container
339339 if ( ! containerId ) {
340- containerId = await Studio . execDocker ( [
341- 'create' ,
342- '-p' , '9000:9000' ,
340+ containerId = await Studio . execDocker ( [
341+ 'create' ,
342+ '-p' , '9000:9000' ,
343343 ...( persistentDebugContainer ? [ '--name' , persistentDebugContainer ] : [ ] ) ,
344- sha256Hash
345- ] ) ;
346- containerId = containerId . trim ( ) ;
344+ ...( process . env . DEBUG ? [ '-e' , 'DEBUG=1' ] : [ ] ) ,
345+ sha256Hash
346+ ] ) ;
347+ containerId = containerId . trim ( ) ;
347348
348- logger . info ( 'starting container' ) ;
349- await Studio . execDocker ( [ 'start' , containerId ] ) ;
349+ logger . info ( 'starting container' ) ;
350+ await Studio . execDocker ( [ 'start' , containerId ] ) ;
350351 }
351352
352353 // wait for port 9000 to be available
You can’t perform that action at this time.
0 commit comments