I would like to debug what the background script (non persistent) does when it goes to sleep and wakes up (and goes back to sleep again).
Clicking on the "background page" will prevent the background script from going into suspended state, but if I kill the page and open it after a while, only fresh logs are displayed, not the ones that were printed before opening the background page (from the extensions page).
So I am wondering how do we debug the suspended/wake states of an event page?
Edit: Moved the backstory to its own question here