Let's extend https://learn.microsoft.com/en-us/microsoft-cloud/dev/dev-proxy/how-to/intercept-localhost-requests?pivots=client-operating-system-windows to make it clear, that you need to close all browser windows for these settings to take effect.