当前位置:网站首页>Vscode 调试TS
Vscode 调试TS
2022-06-12 08:08:00 【Accpdaiyekun】
首先:新建需要调试文件
testdebugger01.ts
修改配置文件
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "调试ts代码",
"type": "node",
"request": "launch",
"args": [
"${workspaceFolder}/src/testdebugger01.ts"
],
"runtimeArgs": [
"-r",
"ts-node/register"
],
}
]
}三、在vscode 打开终端在根目录安装ypescript与 ts-node
npm install -i typescript ts-node
四、打断点进行调试
边栏推荐
- Introduction to SDI video data stream format (frequency, rate, YUV, EAV, SAV)
- N-order nonzero matrix AB, matrix ab=0, then the rank of a and B is less than n
- EasyExcel导出Excel表格到浏览器,并通过Postman测试导出Excel【入门案例】
- MinGW offline installation package (free, fool)
- Leetcode notes: Weekly contest 277
- Solve mapper duplication problem in reverse engineering
- (P36-P39)右值和右值引用、右值引用的作用以及使用、未定引用类型的推导、右值引用的传递
- S-msckf/msckf-vio technical route and code details online blog summary
- qt. qpa. plugin: Could not load the Qt platform plugin “xcb“ in “***“
- Understanding and analysis of state estimation and Kalman filter
猜你喜欢

Detailed explanation of Google open source sfmlearner paper combining in-depth learning slam -unsupervised learning of depth and ego motion from video

Alibaba cloud deploys VMware and reports an error

Introduction to SDI video data stream format (frequency, rate, YUV, EAV, SAV)

Explanation and explanation on the situation that the volume GPU util (GPU utilization) is very low and the memory ueage (memory occupation) is very high during the training of pytoch

FPGA generates 720p video clock

Introduction to coco dataset

Model Trick | CVPR 2022 Oral - Stochastic Backpropagation A Memory Efficient Strategy

Servlet advanced

How to write simple music program with MATLAB

MES帮助企业智能化改造,提高企业生产透明度
随机推荐
Model Trick | CVPR 2022 Oral - Stochastic Backpropagation A Memory Efficient Strategy
CMAKE 里PRIVATE、PUBLIC、INTERFACE属性示例详解
Debug debugging cmake code under clion, including debugging process under ROS environment
Vision Transformer | CVPR 2022 - Vision Transformer with Deformable Attention
后MES系统的时代,已逐渐到来
(P15-P16)对模板右尖括号的优化、函数模板的默认模板参数
C # push box
Fundamentals of Mathematics - Taylor Theorem
Solve mapper duplication problem in reverse engineering
Literature reading: raise a child in large language model: rewards effective and generalizable fine tuning
Principes et exemples de tâches OpenMP
(P17-P18)通过using定义基础类型和函数指针别名,使用using和typedef给模板定义别名
JSP technology
Dynamic simulation method of security class using Matlab based Matpower toolbox
OpenMP task 原理与实例
Procedure execution failed 1449 exception
Three data exchange modes: line exchange, message exchange and message packet exchange
Compiling principle on computer -- functional drawing language (I)
MES帮助企业智能化改造,提高企业生产透明度
What is an extension method- What are Extension Methods?