If you would like to view the shortcode of a page or elements of the page. The Debug mode allows you to view the shortcode for the page and it’s elements. You can copy and paste the shortcode to re-produce the page and elements or something more advanced like nesting elements.
To do this, you need to enable the debug field for the Advanced Layout Builder. Adding the following to your child theme functions.php will do that: