My project is running smoothly in visual code [Tomcat]. But when it comes to debugging it, I have tried adding launch.json and add configuration to it as follows :-
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug (Launch)",
"request": "launch",
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"mainClass": "full qualified name",
"args": ""
}]}
after pressing F5 for starting debugging, getting error as
Cannot create debug adapter (no executable specified in package.json)
So, Is there any other way to do it ? Need some suggestions.Thanks in advance.