Does checkout trigger afterInsert() data hook?

After checkout, an order record is added into DB, and I have a post fetch request in both afterInsert() and afterUpdate(), but I haven’t received the request from my server. I’m wondering will the hook functions be called after checkout? and if there is any way I can debug it, for example, see console.log() somewhere, as it’s backend code, so they are not logged out in browser.