Skip to content

Commit df33e17

Browse files
LiverpoolOwenMarkPieszak
authored andcommitted
Added Visual Studio Code debug config files (TrilonIO#138)
1 parent 5705a9f commit df33e17

File tree

2 files changed

+90
-0
lines changed

2 files changed

+90
-0
lines changed

.vscode/launch.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "[Development] Launch Web",
6+
"type": "coreclr",
7+
"request": "launch",
8+
"preLaunchTask": "build",
9+
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/Asp2017.dll",
10+
"args": [],
11+
"cwd": "${workspaceRoot}",
12+
"stopAtEntry": false,
13+
"internalConsoleOptions": "openOnSessionStart",
14+
"launchBrowser": {
15+
"enabled": true,
16+
"args": "${auto-detect-url}",
17+
"windows": {
18+
"command": "cmd.exe",
19+
"args": "/C start ${auto-detect-url}"
20+
},
21+
"osx": {
22+
"command": "open"
23+
},
24+
"linux": {
25+
"command": "xdg-open"
26+
}
27+
},
28+
"env": {
29+
"ASPNETCORE_ENVIRONMENT": "Development"
30+
},
31+
"sourceFileMap": {
32+
"/Views": "${workspaceRoot}/Views"
33+
}
34+
},
35+
{
36+
"name": "[Production] Launch Web",
37+
"type": "coreclr",
38+
"request": "launch",
39+
"preLaunchTask": "build",
40+
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/Asp2017.dll",
41+
"args": [],
42+
"cwd": "${workspaceRoot}",
43+
"stopAtEntry": false,
44+
"internalConsoleOptions": "openOnSessionStart",
45+
"launchBrowser": {
46+
"enabled": true,
47+
"args": "${auto-detect-url}",
48+
"windows": {
49+
"command": "cmd.exe",
50+
"args": "/C start ${auto-detect-url}"
51+
},
52+
"osx": {
53+
"command": "open"
54+
},
55+
"linux": {
56+
"command": "xdg-open"
57+
}
58+
},
59+
"env": {
60+
"ASPNETCORE_ENVIRONMENT": "Production"
61+
},
62+
"sourceFileMap": {
63+
"/Views": "${workspaceRoot}/src/AspCoreServer/Views"
64+
}
65+
},
66+
{
67+
"name": ".NET Core Attach",
68+
"type": "coreclr",
69+
"request": "attach",
70+
"processId": "${command:pickProcess}"
71+
}
72+
]
73+
}

.vscode/tasks.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "0.1.0",
5+
"command": "dotnet",
6+
"isShellCommand": true,
7+
"args": [],
8+
"tasks": [
9+
{
10+
"taskName": "build",
11+
"args": [ ],
12+
"isBuildCommand": true,
13+
"showOutput": "silent",
14+
"problemMatcher": "$msCompile"
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)