diff options
author | Yi Zhang (CLR) <yzha@microsoft.com> | 2017-01-20 10:25:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-20 10:25:58 +0300 |
commit | b3fba48529ea068b0ecd753c1283d33a0098b87d (patch) | |
tree | 64708c167d51936db698eb3edc019b5abc40a998 /.vscode | |
parent | c0f65c82ed00359964c83bd5faa0563deb20d99a (diff) |
Update CoreRT doc to include how to debug ILC using VSCode in non-win… (#2514)
* Update CoreRT doc to include how to debug ILC using VSCode in non-windows
* Automate some of the tasks and check in vscode .json files
* Simplify instructions
* Explains the magic and added a bit more coding annotations to make it looks better
* Change ILCompiler.csproj to output ILC.dll directly to be VS-code friendly
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/launch.json | 27 | ||||
-rw-r--r-- | .vscode/tasks.json | 18 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..46d40ef7b --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,27 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "", + "osx": { + "program": "${workspaceRoot}/bin/Product/OSX.x64.Debug/packaging/publish1/ilc.dll" + }, + "linux": { + "program": "${workspaceRoot}/bin/Product/Linux.x64.Debug/packaging/publish1/ilc.dll" + }, + "args": [], + "cwd": "${workspaceRoot}", + "stopAtEntry": false, + "externalConsole": false + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach", + "processId": "${command.pickProcess}" + } + ] +}
\ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..3420cc476 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,18 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "0.1.0", + "command": "${workspaceRoot}/build.sh", + "isShellCommand": false, + "args": [], + "tasks": [ + { + "taskName": "build", + "args": [ ], + "isBuildCommand": true, + "showOutput": "silent", + "suppressTaskName" : true, + "problemMatcher": "$msCompile" + } + ] +} |