How to debug hooks

I tried on 2 different Chrome browsers. The console log won’t show.

The hook works because I tested it by writing something to a field in the collection. It looks like this:

export function enrollment_beforeUpdate(item) {

item.memberFullName = 'This is a test'; //<-----Test the hook 

console.log('enrollment_beforeUpdate') //<––– This won't show in the Chrome dev tool. 

return item; 

}

I used to be able to test the hooks by editing the database using the Wix database web app. The console log used to show until a few days ago after the Wix Dashboard and Database app interface has changed.

Here is my web app in development. I do have a paid account. Just using the free account for development. Once we finish user testing, we will switch it to the paid site.
https://digismarties.wixsite.com/gmt-dev-v3

Thanks so much for looking into it. We love Wix code!! :slight_smile: