Allow users to configure host, port and timeout for build in TCP adapters (#56)
* Remove space in cargo.toml * Add TCPHost for Javascript and PHP adapter * Allow falling back to first open port * Add some more docs to TCPHost * Fix cached binaries prevent from having multiple debug sessions for one adapters This was an issue, because we stored the port arg inside the DebugAdapterBinary which was cached so could not change anymore. Co-authored-by: Anthony Eid <hello@anthonyeid.me> * Add default setting for tcp timeout Co-Authored-By: Anthony Eid <56899983+Anthony-Eid@users.noreply.github.com> --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me> Co-authored-by: Anthony Eid <56899983+Anthony-Eid@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,6 @@ use dap::transport::{StdioTransport, Transport};
|
||||
|
||||
use crate::*;
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Clone)]
|
||||
pub(crate) struct PythonDebugAdapter {}
|
||||
|
||||
impl PythonDebugAdapter {
|
||||
|
||||
Reference in New Issue
Block a user