Debugging node/route access
The /node/{node}/edit path is defined by the entity.node.edit_form route. This route uses the _entity_access requirement to lookup access. When that route's requested the entity API will execute EntityAccessCheck::access() and NodeAccessControlHandler::access() to lookup the account permssions for the relevant node.