Add support for developing in VS Code
Summary
The JUnit tests can be run and debugged interactively in VS Code with the following settings (in .vscode/settings.json
):
{
"java.test.config": {
"env": {
"MAVEN_DEBUG_OPTS": "-Xdebug -Xnoagent -Djava.compiler=NONE -Dcaosdb.debug=true -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=0.0.0.0:9000"
},
"args": ["-X"]
},
}
This could be added to the repository.
Expected Behavior
Would be nice to able to run and debug tests inside VS Code
Actual Behavior
Tests all fail out of the box due to missing env variables.
Specifications
- Version: Which version of this software?
- Platform: any with VS Code
Possible fixes
See above