Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.4
Operating system/version
OpenSUSE Tumbleweed
Describe the bug
When trying to create an attach configuration, it doesn't let you.
Steps To Reproduce
- Create an attach configuration like so:
dap.configurations.java = {
{
type = 'java',
request = 'attach',
name = 'Debug (Attach) - Remote',
hostName = '127.0.0.1',
port = 5005,
},
}
- Try to run the configuration.
Expected Behavior
It should just run the configuration but I get the following error:
To enrich the config, mainClass should already be present
This is fixed by just adding the mainClass and projectName fields but they shouldn't be necessary for a remote debug configuration.
dap.configurations.java = {
{
mainClass = '',
projectName = '',
type = 'java',
request = 'attach',
name = 'Debug (Attach) - Remote',
hostName = '127.0.0.1',
port = 5005,
},
}
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.4
Operating system/version
OpenSUSE Tumbleweed
Describe the bug
When trying to create an attach configuration, it doesn't let you.
Steps To Reproduce
Expected Behavior
It should just run the configuration but I get the following error:
This is fixed by just adding the
mainClassandprojectNamefields but they shouldn't be necessary for a remote debug configuration.