If the inspector dialog is not showing use the Tools->Show inspectors menu item.
Local and global variables are show in separate tabs on the inspector dialog. A local variable is variable declared within a template using xsl:param. See below for an example the global variable tab
Clicking on a variable entry in the list shown will cause the cursor in the main window to move to the file and line number indicated.