If you're only wanting the webpart to appear in the backend and not the frontend, you can use the ViewMode macro like this:
{% PortalContext.ViewMode == "Edit" #%}
If you're wanting to show the webpart based on different environments (e.g. for production) then you could utilise the machine name macro (assuming they are on different machines):
{% SystemContext.MachineName == "PRODUCTION" %}