dev-proxy icon indicating copy to clipboard operation
dev-proxy copied to clipboard

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

Open garrytrinder opened this issue 4 months ago • 1 comments

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.

garrytrinder avatar Feb 20 '24 19:02 garrytrinder