fix for local debugging
This commit is contained in:
Родитель
3047700677
Коммит
b8b0f67d97
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
// IntelliSense を使用して利用可能な属性を学べます。
|
||||
// 既存の属性の説明をホバーして表示します。
|
||||
// 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Launch Program",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"preLaunchTask": "tsc: build - tsconfig.json",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/src/main.ts",
|
||||
"console": "integratedTerminal",
|
||||
"env": {
|
||||
// basic config
|
||||
"INPUT_SUBSCRIPTION-ID": "<REPLACE>",
|
||||
"INPUT_RESOURCE-GROUP": "<REPLACE>",
|
||||
"INPUT_LOCATION": "<REPLACE>",
|
||||
"INPUT_NAME": "<REPLACE>",
|
||||
"INPUT_MANAGED-ENVIRONMENT-NAME": "<REPLACE>",
|
||||
|
||||
// DAPR config
|
||||
// "INPUT_DAPR-ENABLED": "<REPLACE>",
|
||||
// "INPUT_DAPR-APP-PROTOCOL": "<REPLACE>",
|
||||
// "INPUT_DAPR-APP-PORT": "<REPLACE>",
|
||||
|
||||
// Ingress config
|
||||
// "INPUT_INGRESS-CUSTOM-DOMAINS-JSON": "<REPLACE>",
|
||||
// "INPUT_INGRESS-EXTERNAL": "<REPLACE>",
|
||||
// "INPUT_INGRESS-TARGET-PORT": "<REPLACE>",
|
||||
// "INPUT_INGRESS-TRAFFIC-JSON": "<REPLACE>",
|
||||
|
||||
// Scale configdocker
|
||||
// "INPUT_SCALE-MIN-REPLICAS": "<REPLACE>",
|
||||
// "INPUT_SCALE-MAX-REPLICAS": "<REPLACE>",
|
||||
// "INPUT_SCALE-RULES-JSON": "<REPLACE>",
|
||||
|
||||
// Containers config
|
||||
// "INPUT_CONTAINERS-CONFIG-JSON": "<REPLACE>",
|
||||
|
||||
// vaules for EnvironmentCredential class
|
||||
// "AZURE_CLIENT_ID": "<REPLACE>",
|
||||
// "AZURE_TENANT_ID": "<REPLACE>",
|
||||
// "AZURE_CLIENT_SECRET": "<REPLACE>"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "typescript",
|
||||
"tsconfig": "tsconfig.json",
|
||||
"problemMatcher": [
|
||||
"$tsc"
|
||||
],
|
||||
"group": "build",
|
||||
"label": "tsc: build - tsconfig.json"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -15,7 +15,8 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^13.13.52",
|
||||
"debug": "^4.3.4"
|
||||
"debug": "^4.3.4",
|
||||
"typescript": "^4.8.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": "16.13.0",
|
||||
|
@ -571,6 +572,19 @@
|
|||
"node": ">=0.6.11 <=0.7.0 || >=0.7.3"
|
||||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "4.8.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz",
|
||||
"integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/uuid": {
|
||||
"version": "8.3.2",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
|
||||
|
@ -1003,6 +1017,12 @@
|
|||
"resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
|
||||
"integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg=="
|
||||
},
|
||||
"typescript": {
|
||||
"version": "4.8.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz",
|
||||
"integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==",
|
||||
"dev": true
|
||||
},
|
||||
"uuid": {
|
||||
"version": "8.3.2",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^13.13.52",
|
||||
"debug": "^4.3.4"
|
||||
"debug": "^4.3.4",
|
||||
"typescript": "^4.8.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
|
||||
// "declaration": true, /* Generates corresponding '.d.ts' file. */
|
||||
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
||||
// "sourceMap": true, /* Generates corresponding '.map' file. */
|
||||
"sourceMap": true, /* Generates corresponding '.map' file. */
|
||||
// "outFile": "./", /* Concatenate and emit output to single file. */
|
||||
"outDir": "./lib", /* Redirect output structure to the directory. */
|
||||
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
||||
|
|
Загрузка…
Ссылка в новой задаче