Skip to content

Commit

Permalink
Add debug launch config for generating docs (palantir#1727)
Browse files Browse the repository at this point in the history
  • Loading branch information
nchen63 authored and adidahiya committed Nov 16, 2016
1 parent 66ad241 commit 7523865
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
.vscode
appveyor.yml
circle.yml
Gruntfile.js
tslint.json
/build/
/docs/
/scripts/
/src/
/test/
tscommand*.txt
21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,27 @@
"sourceMaps": true,
"outFiles": [],
"outDir": "${workspaceRoot}/build"
},
{
"name": "Debug Document Generation",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/scripts/buildDocs.ts",
"stopOnEntry": false,
"args": ["run", "test"],
"cwd": "${workspaceRoot}",
"preLaunchTask": "tsc",
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"console": "internalConsole",
"sourceMaps": true,
"outFiles": [],
"outDir": "${workspaceRoot}/build"
}
]
}
3 changes: 1 addition & 2 deletions scripts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"noImplicitAny": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"declaration": false,
"sourceMap": false,
"sourceMap": true,
"target": "es5"
}
}

0 comments on commit 7523865

Please sign in to comment.