View Source edb_dap_request_attach (edb v0.4.0)

Summary

Types

arguments/0

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

config/0

-type config() :: #{node := node(), cookie => atom(), cwd := binary(), stripSourcePrefix => binary()}.

Functions

handle(State, Args)

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

handle_bootstrap_failure(Unexpected)

-spec handle_bootstrap_failure(edb:bootstrap_failure()) -> edb_dap_request:reaction().

parse_arguments(Args)

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