![]() We believe this is a significant milestone for Java support on Visual Studio Code and the result of a multi-year collaboration between Microsoft, Red Hat and the entire Visual Studio Code and Java community. Then start the debug and watch out for the generated commands and you can find what is wrong by analyzing the commands used to launch the application.īelow is an example of a config item in `launch.Today we are excited to announce the 1.0 release of Language Support for Java™ by Red Hat on Visual Studio Code. To ensure you are using the correct config, first, find out the command line details using java.exe which is required to run your application, and then configure this command using the launch.json file.Īlso, configure the console of the debug session to be the integrated terminal and lunch the debug with or without the `launch.json' file. I tried to set the classpath to point to the generated *.class` binary files but it didn't work I think because I need to specify each and everyone which wasn't possible. You must build the project using mvn install to generate the required jar files for the project which are defined in pom.xml' for all modules. ![]() ![]() You need to define a lunch request in the launch.json file and set the classpath to point to the correct jar files. It seems that the classpath is not set automatically or not set correctly when you try t debug without using a launch config. In my case, I get the same error when I am debugging a multi-module maven project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |