Skip to content

Commit fa8ffcc

Browse files
authored
fix(rdbg): remove RUBY_DEBUG_OPEN environment variable (#119)
We already pass `--open` env variable earlier.
1 parent 43ff8ea commit fa8ffcc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/ruby.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,7 @@ impl zed::Extension for RubyExtension {
201201
arguments,
202202
connection: Some(connection),
203203
cwd: ruby_config.cwd,
204-
envs: ruby_config
205-
.env
206-
.into_iter()
207-
.chain(std::iter::once(("RUBY_DEBUG_OPEN".into(), "true".into())))
208-
.collect(),
204+
envs: ruby_config.env.into_iter().collect(),
209205
request_args: StartDebuggingRequestArguments {
210206
configuration: configuration.to_string(),
211207
request: StartDebuggingRequestArgumentsRequest::Launch,

0 commit comments

Comments
 (0)