-
-
Notifications
You must be signed in to change notification settings - Fork 38
How To
Alex D edited this page Oct 14, 2024
·
9 revisions
tsc.exe --di --opt_level=0 --emit=exe example.tsfile: launch.json
{
"name": "(Windows) tsc.exe - EXE",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/../../__build/tsc/windows-msbuild-debug/bin/tsc.exe",
"args": [
"-emit=exe",
"--di",
"-mtriple=x86_64-pc-windows-msvc",
"--no-default-lib",
"C:/example.ts",
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{ "name": "GC_LIB_PATH", "value": "${workspaceFolder}/../../__build/gc/msbuild/x64/debug/Debug" },
{ "name": "LLVM_LIB_PATH", "value": "${workspaceFolder}/../../__build/llvm/msbuild/x64/debug/Debug/lib" },
{ "name": "TSC_LIB_PATH", "value": "${workspaceFolder}/../../__build/tsc/windows-msbuild-debug/lib" },
]
}TypeScript Native Compiler Wiki