Skip to content

Instantly share code, notes, and snippets.

@caiwan
Created August 20, 2016 15:35
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 caiwan/c23ee4b06e6c90748b2da58a9ea98e38 to your computer and use it in GitHub Desktop.
Save caiwan/c23ee4b06e6c90748b2da58a9ea98e38 to your computer and use it in GitHub Desktop.
Quick and dirty VScode
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome against localhost, with sourcemaps",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"sourceMaps": true,
"webRoot": "${workspaceRoot}/src/ts/main.ts"
},
{
"name": "Attach to Chrome, with sourcemaps",
"type": "chrome",
"request": "attach",
"url": "http://localhost:3000",
"port": 9222,
"sourceMaps": true,
"webRoot": "${workspaceRoot}/src/ts/main.ts"
}
]
}
{
"editor.fontSize": 12,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"**/dist": true
}
}
{
"version": "0.1.0",
"command": "npm",
"isShellCommand": true,
"args": [
"run"
],
"showOutput": "always",
"tasks": [
{
"taskName": "build",
"args": [],
"isBuildCommand": true,
"isWatching": false,
"problemMatcher": [
"$tsc",
"$jshint"
],
"echoCommand": true
},
{
"taskName": "develop",
"args": [],
"isBuildCommand": false,
"isWatching": true,
"problemMatcher": [
"$tsc",
"$jshint"
],
"echoCommand": true
},
{
"taskName": "bootstrap",
"args": [],
"isBuildCommand": false,
"isWatching": false,
"echoCommand": true
},
{
"taskName": "typings",
"args": ["--", "install"],
"isBuildCommand": true,
"isWatching": false,
"echoCommand": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment