Skip to content

Instantly share code, notes, and snippets.

@nwgh
Created May 4, 2016 21:22
Show Gist options
  • Save nwgh/c7b71148908bea753a78685ffad03210 to your computer and use it in GitHub Desktop.
Save nwgh/c7b71148908bea753a78685ffad03210 to your computer and use it in GitHub Desktop.
Minimal repro case for vscode issue
export MOZCONFIG="$HOME/src/mozilla/mozconfigs/linux_debug_noopt"
{
// See http://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.3.2",
"command": "./mach",
"isShellCommand": true,
"args": ["--log-no-times"],
"options": {"cwd": "${workspaceRoot}", "env": {"NSPR_LOG_MODULES": "timestamp,nsHttp:5", "NSPR_LOG_FILE": "/tmp/nspr.log", "SSLKEYLOGFILE": "/tmp/nsskeys.log"}},
"showOutput": "always",
"tasks": [
{
"taskName": "Full Build",
"suppressTaskName": true,
"isBuildCommand": true,
"args": ["build"],
"problemMatcher": {
"owner": "cpp",
"fileLocation": "absolute",
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
},
{
"taskName": "Binaries Build",
"suppressTaskName": true,
"args": ["build", "binaries"],
"problemMatcher": {
"owner": "cpp",
"fileLocation": "absolute",
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
},
{
"taskName": "Run with HTTP Logging",
"suppressTaskName": true,
"args": ["run"],
"problemMatcher": {
"owner": "cpp",
"fileLocation": "absolute",
"severity": "error",
"pattern": {
"regexp": "^Assertion failure: (.+), at ([a-zA-Z0-9+/.-_]+):([0-9]+)$"
"file": 2,
"line": 3,
"message": 1
}
}
},
{
"taskName": "Clobber",
"suppressTaskName": true,
"args": ["clobber"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment