Skip to content

PowerShell does not pick up that proxy has been started or stopped #573

Open
@garrytrinder

Description

@garrytrinder

When using Dev Proxy with PowerShell the current session does not pick up that proxy has been started or stopped.

  1. Open PowerShell session (1) and issue a request to API, it will succeed
  2. Open a new PowerShell session (2) and start Dev Proxy, then send another request, Dev Proxy will intercept the request
  3. Stop Dev Proxy, switch to PowerShell session (1) and issue another request to API, it will fail although proxy is not running
  4. Close PowerShell session (1), and create a new PowerShell session, issue a request to API, it will succeed

To use Dev Proxy you must start a new PowerShell session after starting it and a new PowerShell session after it's been stopped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions