Shopify Debug Mode (web-vitals) Conflicts With App Button Click Events

I’m building a public app using Shopify App Bridge and Remix. When I include:

html

CopyEdit

<meta name="shopify-debug" content="web-vitals" />
<script src="https://cdn.shopify.com/shopifycloud/app-bridge.js"></script>

…in my HTML head, it causes the main button click events in my embedded app to stop working.

Has anyone experienced this conflict before? Is there a recommended way to use the debug tools like web-vitals without interfering with app functionality? Any workarounds or best practices?

Thanks in advance!