Skip to content

Commit f1b1ded

Browse files
added vscode debug infos
1 parent 4609181 commit f1b1ded

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": ".NET Core Launch (console)",
9+
"type": "coreclr",
10+
"request": "launch",
11+
"preLaunchTask": "build",
12+
"program":
13+
"${workspaceFolder}/bin/Debug/netcoreapp2.1/SampleWebApiAspNetCore.dll",
14+
"args": [],
15+
"cwd": "${workspaceFolder}",
16+
"console": "internalConsole",
17+
"stopAtEntry": false,
18+
"internalConsoleOptions": "openOnSessionStart"
19+
},
20+
{
21+
"name": ".NET Core Launch (web)",
22+
"type": "coreclr",
23+
"request": "launch",
24+
"preLaunchTask": "build",
25+
"program":
26+
"${workspaceFolder}/bin/Debug/netcoreapp2.1/SampleWebApiAspNetCore.dll",
27+
"args": [],
28+
"cwd": "${workspaceFolder}",
29+
"stopAtEntry": false,
30+
"internalConsoleOptions": "openOnSessionStart",
31+
"launchBrowser": {
32+
"enabled": true,
33+
"args": "${auto-detect-url}",
34+
"windows": {
35+
"command": "cmd.exe",
36+
"args": "/C start ${auto-detect-url}"
37+
},
38+
"osx": { "command": "open" },
39+
"linux": { "command": "xdg-open" }
40+
},
41+
"env": { "ASPNETCORE_ENVIRONMENT": "Development" },
42+
"sourceFileMap": { "/Views": "${workspaceFolder}/Views" }
43+
},
44+
{
45+
"name": ".NET Core Attach",
46+
"type": "coreclr",
47+
"request": "attach",
48+
"processId": "${command:pickProcess}"
49+
}
50+
]
51+
}
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": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "build",
8+
"command": "dotnet build",
9+
"type": "shell",
10+
"group": "build",
11+
"presentation": {
12+
"reveal": "silent"
13+
},
14+
"problemMatcher": "$msCompile"
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)