bump versions, fix dap of java
This commit is contained in:
22
lua/plugins/dap-java-remote.lua
Normal file
22
lua/plugins/dap-java-remote.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
return {
|
||||
"mfussenegger/nvim-dap",
|
||||
optional = true,
|
||||
opts = function()
|
||||
local dap = require("dap")
|
||||
dap.configurations.java = {
|
||||
{
|
||||
type = "java",
|
||||
request = "attach",
|
||||
name = "Debug (Attach) - Remote",
|
||||
hostName = "127.0.0.1",
|
||||
port = tonumber(os.getenv("JAVA_DEBUG_PORT") or "5005"),
|
||||
},
|
||||
}
|
||||
end,
|
||||
dependencies = {
|
||||
{
|
||||
"mason-org/mason.nvim",
|
||||
opts = { ensure_installed = { "java-debug-adapter", "java-test" } },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user