# Coherent GT Debugger The Microsoft Flight Simulator SDK comes with the [Coherent GT](https://coherent-labs.com/Documentation/cpp-gt/index.html) Debugger, which can be found in the following directory: ``` codeblock \Tools\CoherentGT Debugger ``` This tool permits you to debug the HTML gauges within an aircraft. To use this tool you should first start Microsoft Flight Simulator, then in the project editor open the aircraft package and build it. Once the package is built, the aircraft should be available for use in the aircraft selection screen, and you should choose it and start a flight. Once in the simulation itself, you can run the `Debugger.exe` which will open a window that looks something like this: {{< image-center src="images/6_Programming/JS/coherent/coherent_debugger.png" alt="The Coherent GT Debugger" >}} If nothing is visible in the window when you start it up, clicking the `Go` button should show all the available web views. If that still doesn't work, ensure that the URL being debugged is set to the following: ``` codeblock http://127.0.0.1:19999 ``` The main page will show a list of items that can be "inspected" in the Coherent GT debugger, and most of these will be related to the UI of the simulation. However, for aircraft using the HTML gauges, there will also be a list of gauge elements that can be inspected, titled with **VCockpit**: {{< image-center src="images/6_Programming/JS/coherent/coherent_vcockpit.png" alt="VCockpit Elements That Can Be Inspected" >}} These relate to the different virtual cockpits defined in the [Panel.cfg](../../content-configuration/cfg-files/panel.cfg/) file for the aircraft: {{< image-center src="images/6_Programming/JS/coherent/coherent_panelcfg.png" alt="The Panel.cfg File Showing VCockpits" >}} When you click on any of the VCockpit entries in the list, then you will be taken to the main debugger where you have a number of different tools and views that can be used to see how the selected item is performing: {{< image-center src="images/6_Programming/JS/coherent/coherent_debugging.png" alt="The Main Coherent GT Debug Screen" >}} From this view you have access to all the debug tools you would expect from an HTML/JavaScript debugger, and you can edit and tweak values in real time to see what effect they will have within the simulation (all changes are temporary and only for previewing things "live" within the simulation). Also note that, each time you launch Coherent, you should check the **Ignore Cache** button in the network tab to be sure that Coherent refreshes all the files: {{< image-center src="images/6_Programming/JS/coherent/coherent_clearcache.png" alt="The Clear Cache Button In Coherent" >}} For full details on the debug options please see the Coherent documentation from the following link: - [Debugging And Live Editing](https://coherent-labs.com/Documentation/cpp-gt/dd/d68/debugging.html)