aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/.vscode/launch.json
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-23 01:16:24 +0800
committercrupest <crupest@outlook.com>2021-01-23 01:17:02 +0800
commitd2696cab01bea5fba0c00b907343e8052adacd74 (patch)
tree2d48609fb2c72ed5e5c61dfab1b04815d1f14c2f /BackEnd/.vscode/launch.json
parent2bf83a531a15e7895854f160b727d2dd150290d0 (diff)
downloadtimeline-d2696cab01bea5fba0c00b907343e8052adacd74.tar.gz
timeline-d2696cab01bea5fba0c00b907343e8052adacd74.tar.bz2
timeline-d2696cab01bea5fba0c00b907343e8052adacd74.zip
feat: Now configuration uses environment variables starts with 'Timeline_'. And remove work dir config in launch profiles.
Diffstat (limited to 'BackEnd/.vscode/launch.json')
-rw-r--r--BackEnd/.vscode/launch.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/BackEnd/.vscode/launch.json b/BackEnd/.vscode/launch.json
new file mode 100644
index 00000000..9eef271c
--- /dev/null
+++ b/BackEnd/.vscode/launch.json
@@ -0,0 +1,36 @@
+{
+ // 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/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "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}/Timeline/bin/Debug/net5.0/Timeline.dll",
+ "args": [],
+ "cwd": "${workspaceFolder}/Timeline",
+ "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",
+ "processId": "${command:pickProcess}"
+ }
+ ]
+} \ No newline at end of file