Closed milind-shakya-sp closed 4 years ago
It appears that something has changed in Vimspector. According to the docs it should still be possible to set adapters
in the .vimspector.json
file.
You can then configure the adapter manually in the adapters section of your .vimspector.json or in a gadgets.json.
Can you try setting the adapters config in the Vimspector gadgets.json file as a workaround?
Did a quick test by adding the following to the .gadgets.json
file. But did not help. Not sure if there any other configuration that coc-java-debug needs to follow?
"java-debug-server": {
"name": "vscode-java",
"port": "${AdapterPort}"
}
I would expect .gadgets.json
to have the full adapters
config just as it is in .vimspector.json
.
{
"adapters": {
"java-debug-server": {
"name": "vscode-java",
"port": "${AdapterPort}"
}
}
}
I was hitting the same issue after upgrading plugins but the workaround suggested by @dansomething seems to be working.
Looks like I was updating the wrong .gadgets.json
file. I had to create a new .gadgets.json
file in the project root to get it working.
Thanks
Getting the following error
The specified adapter 'java-debug-server' is not available. Did you forget to run 'install_gadget.py'?
My configuration is