File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ defmodule ElixirLS.DebugAdapter do
7
7
Application . load ( :erts )
8
8
Application . put_env ( :elixir , :ansi_enabled , false )
9
9
WireProtocol . intercept_output ( & Output . debuggee_out / 1 , & Output . debuggee_err / 1 )
10
+ Application . put_env ( :elixir , :ansi_enabled , true )
10
11
Launch . start_mix ( )
11
12
12
13
if Version . match? ( System . version ( ) , ">= 1.15.0-dev" ) do
Original file line number Diff line number Diff line change @@ -1730,9 +1730,6 @@ defmodule ElixirLS.DebugAdapter.Server do
1730
1730
Mix.Task . run ( "loadconfig" )
1731
1731
end
1732
1732
1733
- # make sure ANSI is disabled
1734
- Application . put_env ( :elixir , :ansi_enabled , false )
1735
-
1736
1733
unless "--no-compile" in task_args or "--no-mix-exs" in task_args do
1737
1734
case Mix.Task . run ( "compile" , [ "--ignore-module-conflict" , "--return-errors" ] ) do
1738
1735
{ :error , diagnostics } ->
You can’t perform that action at this time.
0 commit comments