Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.6k views
in Technique[技术] by (71.8m points)

VScode 调试js代码怎么默认选择node环境?

最近在补数据结构,我用VScode调试js代码文件,每次按了F5, 都要我选择一下环境,很麻烦,去哪里可以配置默认的选项呢?希望它默认都用node环境。

image.png

或者有没有什么调试JS代码更方便的工具?那个javascript shell貌似安装很麻烦的样子,没找到简单易懂的安装教程。。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

image.png

命令行执行你的文件。

VSCode 似乎现在可以执行运行,我记得去年下半年没有配置 launch.json 就可以直接命中断点。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...