First pass at debug adapter support

This commit is contained in:
Joshua "Yoshi" Askharoun
2025-11-30 13:37:34 -06:00
parent 61ff45aee5
commit 1ab545d4e2
6 changed files with 50 additions and 12 deletions
@@ -18,6 +18,8 @@ public class NetDebuggerClient : IDebuggerClient, IRemoteDebuggerState, IDisposa
private InterpreterCommand _uibCommand;
private long _nextFreeTransactionId = 1;
public string ConnectionString => ConnectionUri.ToString();
public Uri ConnectionUri { get; }
public InterpreterCommand DebuggerCommand
@@ -39,6 +41,7 @@ public class NetDebuggerClient : IDebuggerClient, IRemoteDebuggerState, IDisposa
public NetDebuggerClient(Uri connectionUri = null)
{
ConnectionUri = connectionUri ?? DebugRemoting.DEFAULT_TCP_URI;
_socket = new(SocketType.Stream, ProtocolType.Tcp);
_formatter = DebugRemoting.CreateBsonFormatter();
}