.vscode/launch.json
{
"version": "0.2.0",
"configurations": [
{
// Needs Step 2 from "Running and debugging".
// https://starsector.fandom.com/wiki/IntelliJ_IDEA_Setup#Running_and_debugging
"type": "java",
"name": "Attach to Starsector",
"request": "attach",
"hostName": "localhost",
"port": 5005,
"preLaunchTask": "gradle: build"
}
]
}