1
0
Fork 0
dotfiles/nvim/lua/plugins/jdtls.lua

28 lines
745 B
Lua

return {
"mfussenegger/nvim-jdtls",
dependencies = {
"williamboman/mason.nvim"
},
config = function()
local dap = require('dap')
dap.configurations.java = {{
type = 'java',
request = 'attach',
name = 'Debug (Attach) port 5005',
hostName = '127.0.0.1',
port = 5005,
},{
type = 'java',
request = 'attach',
name = 'Debug (Attach) port 5006',
hostName = '127.0.0.1',
port = 5006,
},{
type = 'java',
request = 'attach',
name = 'Debug (Attach) port 5105',
hostName = '127.0.0.1',
port = 5105,
}}
end,
}