Visual Studio Code 断点调试Nodejs程序跳过node内部模块(internal modules)

时间:2019-09-25 13:54:06   收藏:0   阅读:528

Built-in core modules of Node.js can be referred to by the ‘magic name’ <node_internals> in a glob pattern. The following example skips all internal modules:

 

"skipFiles": [

   "<node_internals>/**/*.js",

   "${workspaceRoot}/node_modules/**/*.js"

]

 

The exact ‘skipping’ rules are as follows:

 

 

资料1: internal modules: https://github.com/nodejs/node/tree/master/lib

资料2: https://vscode-doc-jp.github.io/docs/nodejs/nodejs-debugging.html#Skipping-uninteresting-code-node-chrome

原文:https://www.cnblogs.com/eret9616/p/11583894.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!