File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
lib/ruby-debug-ide/multiprocess Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ if options.dispatcher_port != -1
95
95
old_opts = ENV [ 'RUBYOPT' ]
96
96
ENV [ 'RUBYOPT' ] = "-r#{ File . expand_path ( File . dirname ( __FILE__ ) ) } /../lib/ruby-debug-ide/multiprocess/starter"
97
97
ENV [ 'RUBYOPT' ] += " #{ old_opts } " if old_opts
98
+ ENV [ 'DEBUGGER_CLI_DEBUG' ] = Debugger . cli_debug
98
99
end
99
100
100
101
if options . int_handler
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ def pre_child
16
16
'port' => port ,
17
17
'stop' => false ,
18
18
'tracing' => false ,
19
- 'int_handler' => true
19
+ 'int_handler' => true ,
20
+ 'cli_debug' => ( ENV [ 'DEBUGGER_CLI_DEBUG' ] == 'true' )
20
21
)
21
22
22
23
acceptor_host , acceptor_port = ENV [ 'IDE_PROCESS_DISPATCHER' ] . split ( ":" )
@@ -56,6 +57,7 @@ def start_debugger(options)
56
57
# set options
57
58
Debugger . keep_frame_binding = options . frame_bind
58
59
Debugger . tracing = options . tracing
60
+ Debugger . cli_debug = options . cli_debug
59
61
60
62
Debugger . prepare_debugger ( options )
61
63
end
You can’t perform that action at this time.
0 commit comments