aboutsummaryrefslogtreecommitdiff
path: root/Main/.vscode/launch.json
diff options
context:
space:
mode:
Diffstat (limited to 'Main/.vscode/launch.json')
-rw-r--r--Main/.vscode/launch.json28
1 files changed, 23 insertions, 5 deletions
diff --git a/Main/.vscode/launch.json b/Main/.vscode/launch.json
index 618a536..7a4e712 100644
--- a/Main/.vscode/launch.json
+++ b/Main/.vscode/launch.json
@@ -5,18 +5,36 @@
"version": "0.2.0",
"configurations": [
{
- "name": ".NET Core Launch (console)",
+ "name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
- "program": "${workspaceFolder}/bin/Debug/netcoreapp2.1/Main.dll",
+ "program": "${workspaceFolder}/bin/Debug/netcoreapp2.1/Server.dll",
"args": [],
"cwd": "${workspaceFolder}",
- // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
- "console": "externalTerminal",
"stopAtEntry": false,
- "internalConsoleOptions": "openOnSessionStart"
+ "internalConsoleOptions": "openOnSessionStart",
+ "launchBrowser": {
+ "enabled": true,
+ "args": "${auto-detect-url}",
+ "windows": {
+ "command": "cmd.exe",
+ "args": "/C start ${auto-detect-url}"
+ },
+ "osx": {
+ "command": "open"
+ },
+ "linux": {
+ "command": "xdg-open"
+ }
+ },
+ "env": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ },
+ "sourceFileMap": {
+ "/Views": "${workspaceFolder}/Views"
+ }
},
{
"name": ".NET Core Attach",