View Source edb_dap_request_launch (edb v0.4.0)

Summary

Types

arguments/0

-type arguments() :: #{runInTerminal := run_in_terminal(), config := config()}.

config/0

-type config() ::
          #{nameDomain := shortnames | longnames,
            nodeInitCodeInEnvVar => binary(),
            stripSourcePrefix => binary(),
            timeout => non_neg_integer()}.

run_in_terminal/0

Functions

handle(State, Args)

-spec handle(State, Args) -> edb_dap_request:reaction()
                when State :: edb_dap_server:state(), Args :: arguments().

parse_arguments(Args)

-spec parse_arguments(edb_dap:arguments()) -> {ok, config()} | {error, Reason :: binary()}.