Added some config files for codespaces. Modified for codespaces
This commit is contained in:
35
.vscode/launch.json
vendored
Normal file
35
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
// Use IntelliSense to find out which attributes exist for C# debugging
|
||||||
|
// Use hover for the description of the existing attributes
|
||||||
|
// For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md.
|
||||||
|
"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}/Moonlight/bin/Debug/net6.0/Moonlight.dll",
|
||||||
|
"args": [],
|
||||||
|
"cwd": "${workspaceFolder}/Moonlight",
|
||||||
|
"stopAtEntry": false,
|
||||||
|
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
|
||||||
|
"serverReadyAction": {
|
||||||
|
"action": "openExternally",
|
||||||
|
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
},
|
||||||
|
"sourceFileMap": {
|
||||||
|
"/Views": "${workspaceFolder}/Views"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": ".NET Core Attach",
|
||||||
|
"type": "coreclr",
|
||||||
|
"request": "attach"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
41
.vscode/tasks.json
vendored
Normal file
41
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "build",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"args": [
|
||||||
|
"build",
|
||||||
|
"${workspaceFolder}/Moonlight.sln",
|
||||||
|
"/property:GenerateFullPaths=true",
|
||||||
|
"/consoleloggerparameters:NoSummary"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "publish",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"args": [
|
||||||
|
"publish",
|
||||||
|
"${workspaceFolder}/Moonlight.sln",
|
||||||
|
"/property:GenerateFullPaths=true",
|
||||||
|
"/consoleloggerparameters:NoSummary"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "watch",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"args": [
|
||||||
|
"watch",
|
||||||
|
"run",
|
||||||
|
"--project",
|
||||||
|
"${workspaceFolder}/Moonlight.sln"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||||
"ML_DEBUG": "true"
|
"ML_DEBUG": "true"
|
||||||
},
|
},
|
||||||
"applicationUrl": "http://moonlight.owo:5118;https://localhost:7118;http://localhost:5118",
|
"applicationUrl": "http://localhost:5118;http://moonlight.owo:5118",
|
||||||
"dotnetRunMessages": true
|
"dotnetRunMessages": true
|
||||||
},
|
},
|
||||||
"Live DB":
|
"Live DB":
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
"ML_DEBUG": "true",
|
"ML_DEBUG": "true",
|
||||||
"ML_CONFIG_PATH": "storage\\configs\\live_config.json"
|
"ML_CONFIG_PATH": "storage\\configs\\live_config.json"
|
||||||
},
|
},
|
||||||
"applicationUrl": "http://moonlight.owo:5118;https://localhost:7118;http://localhost:5118",
|
"applicationUrl": "http://moonlight.owo:5118;http://localhost:5118",
|
||||||
"dotnetRunMessages": true
|
"dotnetRunMessages": true
|
||||||
},
|
},
|
||||||
"Dev DB 1":
|
"Dev DB 1":
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
"ML_DEBUG": "true",
|
"ML_DEBUG": "true",
|
||||||
"ML_CONFIG_PATH": "storage\\configs\\dev_1_config.json"
|
"ML_CONFIG_PATH": "storage\\configs\\dev_1_config.json"
|
||||||
},
|
},
|
||||||
"applicationUrl": "http://moonlight.owo:5118;https://localhost:7118;http://localhost:5118",
|
"applicationUrl": "http://moonlight.owo:5118;http://localhost:5118",
|
||||||
"dotnetRunMessages": true
|
"dotnetRunMessages": true
|
||||||
},
|
},
|
||||||
"Dev DB 2":
|
"Dev DB 2":
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
"ML_DEBUG": "true",
|
"ML_DEBUG": "true",
|
||||||
"ML_CONFIG_PATH": "storage\\configs\\dev_2_config.json"
|
"ML_CONFIG_PATH": "storage\\configs\\dev_2_config.json"
|
||||||
},
|
},
|
||||||
"applicationUrl": "http://moonlight.owo:5118;https://localhost:7118;http://localhost:5118",
|
"applicationUrl": "http://moonlight.owo:5118;http://localhost:5118",
|
||||||
"dotnetRunMessages": true
|
"dotnetRunMessages": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user