In order to debug spring mvc projects with vscode-java-debug, user need run mvnDebug tomcat7:run on cmd first, then configure attach options in launch.json.
Actually debugger can integrate the launch command in launch.json. And use launchInTerminal feature to execute the launching command in VSCode integrated terminal automatically. Then debugger attaches to the debug port to start debugging.
In order to debug spring mvc projects with vscode-java-debug, user need run
mvnDebug tomcat7:runon cmd first, then configure attach options in launch.json.Actually debugger can integrate the launch command in launch.json. And use
launchInTerminalfeature to execute the launching command in VSCode integrated terminal automatically. Then debugger attaches to the debug port to start debugging.