Added debug launch

This commit is contained in:
DESKTOP-8HAFCLV\Yugr 2025-06-27 13:17:16 +04:00
parent 7f67cd98ca
commit 5293c1ee31
3 changed files with 25 additions and 3 deletions

21
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,21 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}\\src\\index.ts",
"outFiles": [
"${workspaceFolder}/**/*.js"
]
}
]
}

View File

@ -2,12 +2,12 @@ function DrawLine(count: number, countP: number){
const minimalString = '*'; const minimalString = '*';
const minimalP = ' '; const minimalP = ' ';
console.log(minimalP.repeat(countP)+minimalString.repeat(count)); let result = minimalP.repeat(countP) + minimalString.repeat(count)
console.log(result);
} }
let chisloN: number = 3; let chisloN: number = 3;
//i++ => i = i + 1 //i++ => i = i + 1
//i-- => i = i - 1 //i-- => i = i - 1
//--i => i = i - 1 //--i => i = i - 1

View File

@ -21,6 +21,7 @@
"strict": true, /* Enable all strict type-checking options. */ "strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
/* Completeness */ /* Completeness */
"skipLibCheck": true /* Skip type checking all .d.ts files. */ "skipLibCheck": true, /* Skip type checking all .d.ts files. */
"sourceMap": true
} }
} }