File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ defmodule ElixirLS.DebugAdapter.Output do
99 """
1010 alias ElixirLS.Utils.WireProtocol
1111 use GenServer
12- use ElixirLS.DebugAdapter.Protocol
12+ import ElixirLS.DebugAdapter.Protocol.Basic
1313
1414 ## Client API
1515
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ defmodule ElixirLS.DebugAdapter.Server do
1919 alias ElixirLS.DebugAdapter . {
2020 Output ,
2121 Stacktrace ,
22- Protocol ,
2322 Variables ,
2423 Utils ,
2524 BreakpointCondition ,
@@ -32,8 +31,8 @@ defmodule ElixirLS.DebugAdapter.Server do
3231
3332 alias ElixirLS.DebugAdapter.Stacktrace.Frame
3433 alias ElixirLS.Utils.Launch
34+ import ElixirLS.DebugAdapter.Protocol.Basic
3535 use GenServer
36- use Protocol
3736
3837 @ temp_beam_dir ".elixir_ls/temp_beams"
3938
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ defmodule ElixirLS.DebugAdapter.MixProject do
2323 build_embedded: false ,
2424 start_permanent: true ,
2525 build_per_environment: false ,
26+ elixirc_paths: elixirc_paths ( Mix . env ( ) ) ,
2627 # if we consolidate here debugged code will not work correctly
2728 # and debugged protocol implementation will not be available
2829 consolidate_protocols: false ,
@@ -46,4 +47,7 @@ defmodule ElixirLS.DebugAdapter.MixProject do
4647 github: "elixir-lsp/dialyxir" , ref: @ dep_versions [ :dialyxir_vendored ] , runtime: false }
4748 ]
4849 end
50+
51+ defp elixirc_paths ( :test ) , do: [ "lib" , "test/support" ]
52+ defp elixirc_paths ( _ ) , do: [ "lib" ]
4953end
File renamed without changes.
You can’t perform that action at this time.
0 commit comments