Skip to content

Commit 22af181

Browse files
authored
Fixes the warning about file property has to be absolute path (#789)
(Warning (emacs): Initialize request failed: The "file" property in the launch configuration has to be an absolute path)
1 parent 302fb05 commit 22af181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dap-firefox.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
(dap--put-if-absent :dap-server-path dap-firefox-debug-program)
4949
(dap--put-if-absent :type "Firefox")
5050
(dap--put-if-absent :cwd default-directory)
51-
(dap--put-if-absent :file (read-file-name "Select the file to open in the browser:" nil (buffer-file-name) t))
51+
(dap--put-if-absent :file (expand-file-name (read-file-name "Select the file to open in the browser:" nil (buffer-file-name) t)))
5252
(dap--put-if-absent :name "Firefox Debug")))
5353

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

0 commit comments

Comments
 (0)