How to debug without iframe emulator on desktop?

Hi

How do I debug my game in browser without the iframe wrapper on the desktop?
I want the desktop version to be the same as the mobile version without wrapping the game inside the div with the emulator selection.
I do not want this being shown with this toolbar and place within the iframe

Thanks~

Hi, you can open your browser’s developer mode and click the button in the image below:

Thanks, it seems that if I rotate or select responsive, it’ll still show the toolbar though.

You can add preview template, and modify the html code to reach what you want.

A template project:

Html code:

About custom web preview, you can refer to this document: https://docs.cocos.com/creator/manual/en/advanced-topics/custom-preview-template.html

Ahh cool, that’s what I wanted, thanks!