Glue42 Enterprise is now io.Connect Desktop! The new documentation site for all interop.io products is located at docs.interop.io.

Debugging Your App

Guide

To start debugging your Glue42 Enterprise app in Visual Studio Code, execute the following steps:

  1. Start Glue42 Enterprise with the --remote-debugging-port command line argument and specify a debugging port:
tick42-glue-desktop.exe --remote-debugging-port=9222

Using the --remote-debugging-port command line argument instructs Glue42 Enterprise to listen on the specified port for a debug connection.

  1. Add a new section to the launch.json file of Visual Studio Code with the following configuration:
{
    "name": "Glue42: Renderer",
    "type": "chrome",
    "request": "attach",
    "targetSelection": "pick",
    "port": 9222,
    "webRoot": "${workspaceFolder}",
    "timeout": 30000
}

Note that the port number in the launch.json configuration must be the same as the one specified in the --remote-debugging-port command line argument for starting the Glue42 Enterprise executable file.

  1. Start your app. To debug your app locally, start your app on localhost or other development server and update the "url" property in your app definition with the respective localhost or development server URL.

  2. Select the Glue42: Renderer profile from "Run and Debug" in Visual Studio Code.

  3. Select your app tab and start debugging.