Skip to content

Commit

Permalink
Fixes the warning about file property has to be absolute path (#789)
Browse files Browse the repository at this point in the history
(Warning (emacs): Initialize request failed: The "file" property in the launch configuration has to be an absolute path)
  • Loading branch information
stasvlasov authored Apr 24, 2024
1 parent 302fb05 commit 22af181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dap-firefox.el
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
(dap--put-if-absent :dap-server-path dap-firefox-debug-program)
(dap--put-if-absent :type "Firefox")
(dap--put-if-absent :cwd default-directory)
(dap--put-if-absent :file (read-file-name "Select the file to open in the browser:" nil (buffer-file-name) t))
(dap--put-if-absent :file (expand-file-name (read-file-name "Select the file to open in the browser:" nil (buffer-file-name) t)))
(dap--put-if-absent :name "Firefox Debug")))

(dap-register-debug-provider "firefox" 'dap-firefox--populate-start-file-args)
Expand Down

0 comments on commit 22af181

Please sign in to comment.