Use the Touch Bar simulator floating window to view, test, and debug your app’s NSTouchBar
objects in a representation of the Touch Bar. The debug area automatically opens when you build and run your app.
Show the Touch Bar simulator by choosing Window > Show Touch Bar.