You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
473 B
20 lines
473 B
1 day ago
|
#!/usr/bin/env node
|
||
|
|
||
|
// 设置调试模式环境变量
|
||
|
process.env.ROUTE_MAPPING_DEBUG = 'true'
|
||
|
|
||
|
// 导入路由映射插件
|
||
|
const routeMappingPlugin = require('./plugins/route-mapping-plugin.js')
|
||
|
|
||
|
console.log('开始调试CallChainTracer...')
|
||
|
console.log('='.repeat(50))
|
||
|
|
||
|
try {
|
||
|
const plugin = routeMappingPlugin()
|
||
|
plugin.collectDirectMappings()
|
||
|
console.log('调试完成')
|
||
|
} catch (error) {
|
||
|
console.error('调试过程中发生错误:', error)
|
||
|
process.exit(1)
|
||
|
}
|