Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Commit

Permalink
updated vscode configuration for building and debugging in vs code.
Browse files Browse the repository at this point in the history
  • Loading branch information
csyonghe committed May 10, 2016
1 parent e3f2b6e commit 67533b9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
34 changes: 34 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,34 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/build/atw.js",
"stopOnEntry": false,
"args": ["test/basic/add.atw"],
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"externalConsole": false,
"sourceMaps": false,
"outDir": null
},
{
"name": "Attach",
"type": "node",
"request": "attach",
"port": 5858,
"sourceMaps": false,
"outDir": null,
"localRoot": "${workspaceRoot}",
"remoteRoot": null
}
]
}
5 changes: 3 additions & 2 deletions .vscode/tasks.json
@@ -1,13 +1,14 @@
{
"version": "0.1.0",
"command": "tsc",
"command": "npm",
"isShellCommand": true,
"suppressTaskName": true,

"tasks": [
{
"taskName": "build",
"args": ["-p", "."],

"args": ["run", "build"],
"isBuildCommand": true,
"problemMatcher": "$tsc",
"showOutput": "silent"
Expand Down

0 comments on commit 67533b9

Please sign in to comment.