72 строки
3.2 KiB
JSON
72 строки
3.2 KiB
JSON
{
|
|
// 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": [
|
|
{
|
|
"env": {
|
|
// Note: Any setting made in this file will override the operating system environment variable of that name.
|
|
|
|
// See https://docs.microsoft.com/aspnet/core/fundamentals/environments
|
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
|
|
|
// Required environment variables used in appsettings.ini
|
|
// For additonal optional settings, refer to comments in appsettings.ini
|
|
"PCS_IOTHUB_CONNSTRING": "your Azure IoT Hub connection string",
|
|
"PCS_STORAGEADAPTER_WEBSERVICE_URL": "http://localhost:9022/v1",
|
|
"PCS_STORAGEADAPTER_DOCUMENTDB_CONNSTRING": "your DocumentDb connection string",
|
|
"PCS_AZURE_STORAGE_ACCOUNT": "your Azure Storage Account connection string",
|
|
"PCS_RESOURCE_GROUP_LOCATION": "your Azure resource group location",
|
|
"PCS_VMSS_NAME": "your vm scale set name",
|
|
|
|
// Optional environment variables used in appsettings.ini
|
|
// For additonal optional settings, refer to comments in appsettings.ini
|
|
"PCS_LOG_LEVEL": "Debug",
|
|
"PCS_AUTH_REQUIRED": "false",
|
|
"PCS_AUTH_ISSUER": "",
|
|
"PCS_AUTH_AUDIENCE": "",
|
|
"PCS_CORS_WHITELIST": "",
|
|
"PCS_SUBSCRIPTION_DOMAIN": "",
|
|
"PCS_SUBSCRIPTION_ID": "",
|
|
"PCS_RESOURCE_GROUP": "",
|
|
"PCS_IOHUB_NAME": "",
|
|
"PCS_SEED_TEMPLATE": ""
|
|
},
|
|
"stopAtEntry": false,
|
|
"justMyCode":false,
|
|
"enableStepFiltering": true,
|
|
"name": "Run Service",
|
|
"launchBrowser": {
|
|
"enabled": false,
|
|
"args": "${auto-detect-url}",
|
|
"windows": {
|
|
"command": "cmd.exe",
|
|
"args": "/C start ${auto-detect-url}"
|
|
},
|
|
"osx": {
|
|
"command": "open"
|
|
},
|
|
"linux": {
|
|
"command": "xdg-open"
|
|
}
|
|
},
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "build",
|
|
"program": "${workspaceRoot}/WebService/bin/Debug/netcoreapp2.0/Microsoft.Azure.IoTSolutions.DeviceSimulation.WebService.dll",
|
|
"args": [],
|
|
"cwd": "${workspaceRoot}/WebService/bin/Debug/netcoreapp2.0",
|
|
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
},
|
|
{
|
|
"name": ".NET Core Attach",
|
|
"type": "coreclr",
|
|
"request": "attach",
|
|
"processId": "${command:pickProcess}"
|
|
}
|
|
]
|
|
}
|