Skip to content

Instantly share code, notes, and snippets.

@john20xdoe
Created January 24, 2018 01:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save john20xdoe/ea48b9282e82e34de471ef0c9acde01c to your computer and use it in GitHub Desktop.
Save john20xdoe/ea48b9282e82e34de471ef0c9acde01c to your computer and use it in GitHub Desktop.
VS Code config for Atlassian SDK developers
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
/*
* This attaches the VSCode debugger to the JIRA instance created by a `atlas-debug` command.
* Before attaching the debugger, you need to run `atlas-debug` to spin up a JIRA instance.
* Default port is 5005.
* Reference: https://developer.atlassian.com/server/framework/atlassian-sdk/creating-a-remote-debug-target/
*/
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug (Attach to Remote)",
"request": "attach",
"hostName": "localhost",
"port": 5005
}
]
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
// these commands will appear in Task > Run Tasks menu.
"version": "2.0.0",
"tasks": [
{
"label": "verify",
"type": "shell",
"command": "mvn -B verify",
"group": "build"
},
{
"label": "mvn:test",
"type": "shell",
"command": "mvn -B test",
"group": "test"
},
{
"label": "atlas-debug",
"type": "shell",
"command": "atlas-debug",
"group": "build"
},
{
"label": "atlas-run",
"type": "shell",
"command": "atlas-run",
"group": "build",
"problemMatcher": []
},
{
/*
* this requires an already-running instance, via atlas-run or atlas-debug
* once run, this will repackage the plugin artifact and will be detected.
*/
"label": "quick-reload",
"type": "shell",
"command": "atlas-mvn package",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"label": "atlas test",
"type": "shell",
"command": "atlas-mvn test",
"group": "test"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment