Skip to content

Commit

Permalink
feat(java): support vscode launch json in Java (#1422)
Browse files Browse the repository at this point in the history
* feat(java): support vscode launch json

* feat(java): support vscode launch json
  • Loading branch information
aqav committed Sep 26, 2023
1 parent ea930e3 commit 5dc4ce3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/lazyvim/plugins/extras/lang/java.lua
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ return {
-- custom init for Java debugger
require("jdtls").setup_dap(opts.dap)
require("jdtls.dap").setup_dap_main_class_configs()
-- setup dap config by VsCode launch.json file
require("dap.ext.vscode").load_launchjs()

-- Java Test require Java debugger to work
if opts.test and mason_registry.is_installed("java-test") then
Expand Down

0 comments on commit 5dc4ce3

Please sign in to comment.