Configuring mixin debug

for a business object mixin(SearchTermSearch), with behavior on it( searchHierarchySearchTerms), the debug string for the behavior is:
:SearchTermSearch::searchHierarchySearchTerms

Adding this to the environment variables:
“DEBUG”: “:SearchTermSearch::searchHierarchySearchTerms,:Topic:

but I don’t see any debug statements in the App Manager…I see through browser Inspect that the behavior is being executed…
Am I missing something silly?

Debug strings should have leading and/or trailing * depending on the situation. In your example, you should have “:SearchTermSearch:” (which is what you should get when you click the icon button on the mixin business object to copy the debug string).

If you are unsure or have problems, you can always look at the generated repository ts. You should see something like this near the top of the file:

const Debug = require('debug')('MeUsKirk:SearchTermSearch');

If you are trying to get just one of the behaviors, look for the line like this:

let debug = Debug.extend('searchHierarchySearchTerms');

In that case, specify “*:searchHierarchySearchTerms” to see the debug.