This commit is contained in:
sankalp committed 2024-05-28 13:59:18 +05:45
1 parent c1d66f5905
commit 14e6013ad2
61 files changed
+11076 -1144

No files matched your search

+45
View File
@@ -102,6 +102,51 @@ dap.configurations.ruby = {
},
}
dap.configurations.java = {
{
name = "Debug Launch (2GB)";
type = 'java';
request = 'launch';
vmArgs = "" ..
"-Xmx2g "
},
{
name = "Debug Attach (8000)";
type = 'java';
request = 'attach';
hostName = "127.0.0.1";
port = 8000;
},
{
name = "Debug Attach (5005)";
type = 'java';
request = 'attach';
hostName = "127.0.0.1";
port = 5005;
},
{
name = "My Custom Java Run Configuration",
type = "java",
request = "launch",
-- You need to extend the classPath to list your dependencies.
-- `nvim-jdtls` would automatically add the `classPaths` property if it is missing
-- classPaths = {},
-- If using multi-module projects, remove otherwise.
-- projectName = "yourProjectName",
-- javaExec = "java",
mainClass = "replace.with.your.fully.qualified.MainClass",
-- If using the JDK9+ module system, this needs to be extended
-- `nvim-jdtls` would automatically populate this property
-- modulePaths = {},
vmArgs = "" ..
"-Xmx2g "
},
}
vim.api.nvim_create_user_command('DapUIToggle', function()
require('dapui').toggle()
end, {})