Buildg supports interactive debugging of Dockerfile on emacs.
- Requirements
- buildg
- dap-mode
- configuration guide: https://emacs-lsp.github.io/dap-mode/page/configuration/
Then add the example launch configuration shown in ./dap-dockerfile.el
to your init.el
.
Also refer to ../README.md
for available properties in the launch configuration.
Run M-x dap-debug
then select Dockerfile Debug Configuration
template.
dap-mode also supports launch.json
of VS Code.
dap-mode looks up launch.json
under (lsp-workspace-root)
and loads it.
Refer to the dap-mode document for details.