Open
Description
I'm trying to set up dap-mode
with dap-netcore
and stuck with an issue running dap-debug
.
-*- mode: compilation; default-directory: "d:/repos/dotnet/dap-sample/" -*-
Comint started at Sat Jan 18 00:36:54
error: no program name specified.
Comint exited abnormally with code 255 at Sat Jan 18 00:36:54
And the status buffer (the lowest line in the editor) says:
LSP: Compilation step failed
Although, the lsp-mode
works, at least I have all the autocompletion, compilation errors, etc.
My config (~/.emacs.el
) looks like this:
(global-display-line-numbers-mode 1)
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(dap-netcore-download-url
"https://github.com/Samsung/netcoredbg/releases/download/3.1.2-1054/netcoredbg-win64.zip")
'(package-selected-packages '(dap-netcoredbg dap-mode company lsp-mode)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(require 'lsp-mode)
(use-package dap-mode
:ensure
:config
(dap-ui-mode)
(dap-ui-controls-mode 1))
(require 'dap-netcore)
(add-hook
'csharp-mode-hook
(lambda ()
(lsp-mode 1)
(company-mode 1)))
I'm running emacs 29.4 on Windows.
I'm pretty sure I've configured something in a wrong way, but I'm struggling to figure out what in particular (because I'm new to emacs). That is why I marked this as a question.
Please, let me know if there is anything else I should provide to resolve my issue :)
Metadata
Metadata
Assignees
Labels
No labels