Mock Policy Server

Test Copilot policy responses against a local server.

Connect a client

Route policy requests to this server

Select a connection method below to enable its steps. You can switch methods at any time.

Connection method
Not applied
  1. Apply the local endpoint URLs

    The server updates product.overrides.json and preserves any other top-level overrides.

  2. Reload and request policy

    Reload Code OSS, sign in, open the Command Palette, and run > Developer: Sync Account Policy.

    If no request appears under Live Requests on the Policies page, clear the policy cache from the header and run the command again.

Policy Editor