Skip to content

Commit 77fcebb

Browse files
committed
Add support for attaching to remote nodes in debug adapter
1 parent 151f45c commit 77fcebb

File tree

2 files changed

+379
-28
lines changed

2 files changed

+379
-28
lines changed

apps/debug_adapter/lib/debug_adapter/protocol.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ defmodule ElixirLS.DebugAdapter.Protocol do
3232
end
3333
end
3434

35+
defmacro attach_req(seq, args) do
36+
quote do
37+
request(unquote(seq), "attach", unquote(args))
38+
end
39+
end
40+
3541
defmacro set_breakpoints_req(seq, source, breakpoints) do
3642
quote do
3743
request(unquote(seq), "setBreakpoints", %{

0 commit comments

Comments
 (0)