debugger: Don't spawn unnecessary process (#32827)
Before this change, when spawning a child session we'd launch an extra node process that would immediately die because it couldn't listen on the debugger port Release Notes: - N/A
This commit is contained in:
parent
6d96f8be8e
commit
783412fa1d
1 changed files with 4 additions and 4 deletions
|
@ -79,10 +79,10 @@ impl DebugAdapterClient {
|
|||
) -> Result<Self> {
|
||||
let binary = match self.transport_delegate.transport() {
|
||||
crate::transport::Transport::Tcp(tcp_transport) => DebugAdapterBinary {
|
||||
command: binary.command,
|
||||
arguments: binary.arguments,
|
||||
envs: binary.envs,
|
||||
cwd: binary.cwd,
|
||||
command: None,
|
||||
arguments: Default::default(),
|
||||
envs: Default::default(),
|
||||
cwd: Default::default(),
|
||||
connection: Some(crate::adapters::TcpArguments {
|
||||
host: tcp_transport.host,
|
||||
port: tcp_transport.port,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue