My scratch orgs have this feature:
"features": ["DebugApex"],
So I create a PermissionSet
enable this feature on the scratch org. But when running sfdx force:source:convert --outputdir mdapi_output --packagename packageName
the permission set is included and is causing failure when pushing on an org for packaging (sfdx force:mdapi:deploy --deploydir mdapi_output -u XXX
).
Is there a way to exclude it from packaging ? forceignore
file excludes it from pull/push on scratch and it is not the goal.