Skip to content

Instantly share code, notes, and snippets.

@szul
Created September 25, 2018 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save szul/76dd7bac5d0811696f97720bc45c5e79 to your computer and use it in GitHub Desktop.
Save szul/76dd7bac5d0811696f97720bc45c5e79 to your computer and use it in GitHub Desktop.
Task items for MSBuild, TypeScript, and Firefox debugging, including a task to launch all others
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run",
"dependsOn": [
"MSBuild",
"TypeScript",
"Firefox"
],
"problemMatcher": []
},
{
"label": "MSBuild",
"type": "shell",
"command": "msbuild",
"args": [
"/property:GenerateFullPaths=true",
"/property:Configuration=Debug",
"/t:build"
],
"group": "build",
"presentation": {
"reveal": "always"
},
"problemMatcher": "$msCompile"
},
{
"label": "TypeScript",
"type": "typescript",
"tsconfig": "tsconfig.json",
"problemMatcher": "$tsc",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Firefox",
"type": "shell",
"command": "C:\\Program Files\\Mozilla Firefox\\firefox.exe",
"windows": {
"command": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"
},
"args": [
"-start-debugger-server"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment