二进制产物不支持本地调试,可以引入源码工程,对源码工程进行调试,按以下步骤配置:
"modules": [
{
"name": "entry",
"srcPath": "./entry",
"targets": [
{
"name": "default",
"applyToProducts": [
"default"
]
}
]
},
{
"name": 'HarLibrary',
"srcPath": '../HarApplication/HarLibrary'
}
] "overrides": {
'harlibrary': "file:../HarApplication/HarLibrary"
}