【发布时间】:2022-10-04 23:48:47
【问题描述】:
我希望 VScode 通知从哪里调用定义的函数。
文件 utils.js
function counter(){
console.log('counter');
}
export default counter;
文件 index.js:
import counter from './utils';
counter();
我想在 utils.js 中的计数器函数定义中知道它在 index.js 中使用
如果在不同的文件中调用函数计数器,我想获取有关函数使用位置的信息 |从调用。
【问题讨论】:
标签: javascript visual-studio-code vscode-debugger