File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 5050 :group 'dap-java
5151 :type 'string )
5252
53+ (defcustom dap-java-vm-args nil
54+ " VmArgs which will be used for debug configuration."
55+ :group 'dap-java
56+ :type 'string )
57+
5358(defcustom dap-java-compile-port 33000
5459 " The debug port which will be used for compile/attach configuration.
5560If the port is taken, DAP will try the next port."
@@ -231,6 +236,7 @@ initiate `compile' and attach to the process."
231236(defun dap-java--populate-default-args (conf )
232237 " Populate all of the fields that are not present in CONF."
233238 (setq conf (plist-put conf :type " java" ))
239+ (plist-put conf :vmArgs dap-java-vm-args)
234240
235241 (setq conf (pcase (plist-get conf :request )
236242 (" launch" (dap-java--populate-launch-args conf))
You can’t perform that action at this time.
0 commit comments