Here is a short explanation how to debug XSLT code for the QCXv8 output tray. I am using Visual Studio Enterprise 2015 on my own laptop without a QCX system installed.
Open the XSLT file.

When the XSLT file is opened, then open Properties in the menu View>Properties. In the Properties window specify the input file taken from QCXv8 system from an XSLT folder – and specify an output file.

When the XSLT file is in focus, use the XML menu to run or debug the XSLT file.

You will get a nice split-view where you can see what happens. On the left where in the XSLT code are we and on the right where in the original xml file are we working.

Also on the right side the resulting xml code.

Put breakpoints (F9) in different templates to see what happens and single step (F10) to see what happens "live".