Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi Zhang (CLR) <yzha@microsoft.com>2017-01-20 10:25:58 +0300
committerGitHub <noreply@github.com>2017-01-20 10:25:58 +0300
commitb3fba48529ea068b0ecd753c1283d33a0098b87d (patch)
tree64708c167d51936db698eb3edc019b5abc40a998 /.vscode
parentc0f65c82ed00359964c83bd5faa0563deb20d99a (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.json27
-rw-r--r--.vscode/tasks.json18
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"
+ }
+ ]
+}