Debugging process

For debugging purposes, there are two areas to explore in the Visual Studio Code command palette.

About this task

Procedure

  • To view the Visual Studio Code side of the extension, complete the following steps:
    1. Enter CMD + SHIFT + P to open the Visual Studio Code command palette.
    2. In the command line, enter Show Output Channels, and select the command from the list.
    3. In the output channels list, select API Agent Debug Logs.
    4. Visual Studio Code extension displays the following information:
      • Login and session data.
      • Reinitialization of the extension after changing tabs.
  • To view the chat webview side, complete the following steps:
    1. Enter CMD + SHIFT + P to open the Visual Studio Code command palette.
    2. In the command line, enter Developer: Open Webview Developer Tools, and select the command from the list.
    3. You can view the webview developer tools, where you can access the following information:
      • Console tab: view logs and console output
      • Network tab: inspect REST calls being made