Skip to main content

Debugging a local extension

After developing an extension, you can start and debug the extension from the UI. This reduces the time spent identifying and fixing issues within the extension's code before it is deployed. When you add a local folder that contains your extension to the UI, Podman Desktop watches the folder, loads the extension, and keeps track of it. You can also stop or untrack the extension.

Prerequisites

Procedure

  1. Go to Settings > Preferences > Extensions.
  2. Click the toggle button to enable the development mode.
  3. Go to Extensions and select the Local Extensions tab.
  4. Click Add a local folder extension....
  5. Select the folder that contains your extension.
  6. Check the extension is in the started state on the same page. debugging an extension

Verification

  1. Go to Extensions, search for the local extension, and confirm that it is ACTIVE.
  2. Check your extension's functionality in the UI.