Skip to content

erlang-ls/vscode-erlang-dap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-erlang-dap

VS Code extension for Erlang Debugger

Experiment with a daptoy launch config (in .vscode/launch.json) of

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "erlang",
            "request": "launch",
            "name": "Run baby run",
            "cwd": "${workspaceRoot}",
            "stopOnEntry": true,
            "module": "daptoy_fact",
            "function": "fact",
            "args": "[5]"

        }
    ]
}

setting up

git clone https://github.com/alanz/erlang_ls.git
cd erlang_ls
git checkout dap-vscode
rebar3 as dap escriptize

Make sure ./_build/dap/bin/els_dap is in your path.

The target project for the launch config is daptoy, set a breakpoint around line 10 of `src/daptoy_fact.erl.

About

VS Code extension for Erlang Debugger

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published