Skip to content

help with classpath #1070

Answered by testforstephen
gsiawGH asked this question in Q&A
Nov 6, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Since some terminals (such as cmd) have a limit on the max length of a command line, the debugger will generate the classpath args into a tmp file by default to shorten the length of the command line. That's why you see a tmp jar file cp_xyz.jar being passed as classpath. It's generate based on the classpath of your pom.xml'. You could turn off the tmp file by adding a config "shortenCommandLine": "none" to launch.json.

If you want to manually configure classPaths parameter in launch.json, you could refer to #93 (comment).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gsiawGH
Comment options

Answer selected by gsiawGH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants