return { "mfussenegger/nvim-jdtls", dependencies = { "williamboman/mason.nvim" }, lazy = true, ft = { "java" }, 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, }