File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,11 @@ If the port is taken, DAP will try the next port."
8787 (const 'externalTerminal )
8888 (const 'internalConsole )))
8989
90+ (defcustom dap-java-args []
91+ " Default java args."
92+ :group 'dap-java
93+ :type 'lsp-string-vector )
94+
9095(defcustom dap-java-test-additional-args ()
9196 " Additional arguments for JUnit standalone runner."
9297 :group 'dap-java
@@ -164,7 +169,7 @@ Please check whether the server is configured propertly"))
164169
165170 (-let [(&plist :mainClass main-class :projectName project-name) conf]
166171 (-> conf
167- (dap--put-if-absent :args " " )
172+ (dap--put-if-absent :args dap-java-args )
168173 (dap--put-if-absent :cwd (lsp-java--get-root))
169174 (dap--put-if-absent :stopOnEntry :json-false )
170175 (dap--put-if-absent :host " localhost" )
You can’t perform that action at this time.
0 commit comments