Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>DevServer-ProxyNew to Visual Studio Code? Get it now.
DevServer-Proxy

DevServer-Proxy

chenym1992

|
517 installs
| (0) | Free
Start the local service and start the domain name proxy
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DevServer Proxy

Start the local service and start the domain name proxy

Requirements

You need to add the .proxyrc.js configuration file to the project root directory and write the required configuration information.

example

module.exports = {
  port: 8080,
  open:true
  proxy: {
    '/example/': {
      target: 'http://www.example.com',
      changeOrigin: true,
    }
  }
};
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft