web/state/state.js: Add debugging

Add several console.log() calls to collect information to debug T394033.

Bug: T394033

Merge request reports

Loading