If you are a developer and need to debug your code in Safari, you can follow these steps:
If you don't see the Develop menu when you right-click, choose Safari > Settings, click Advanced, then select "Show Develop menu in menu bar."
If you don’t know how to operate, just follow the steps in the pictures.