这是一个自己写的小插件,下面的文档是直接复制的 README.md😂;
主要是方便工作中切换后端服务器地址的情况,项目体量达到一定程度的时候,每次重启会花很多时间,所以就萌生了一个想法并把它具象化

emojiconsole�😂
MIECZ
miecz0.jpg

📄描述(Description)

webpackMIECZ
WebpackMIECZ

🪛安装(Installation)

VSCode 扩展库中搜索安装最新版本

Install the latest version by searching the VSCode Marketplace library

✨使用(Usage)

MIECZMIECZ
miecz2.png
  • 创建代理服务器,点击按钮即可进入创建

    To create a proxy server, click the button to enter create

    • 在端口号这里输入你想要创建代理服务器的端口号,这样可以让你的项目服务器地址指向这个端口(例如:http://localhost:9000,那么你只需要在这里输入 9000)

      Enter the port number where you want to create the proxy server, so that your project server address points to this port (for example :http://localhost:9000, then you only need to enter 9000 here).

    • 点击添加地址,可以新增多个地址方便切换(例如:http://localhost:8000/xxx/xxx,http://localhost:7000/xxx/xxx),并且添加备注名方便区别
    • 完成之后需要选择中一个地址进行第一次运行

      After completion, you need to select one of the addresses for the first run

    • 点击保存并运行即可

      Click Save and run

miecz3.png

miecz6.jpg

miecz7.png
  • 代理服务器运行

    Proxy server running

    • 运行中代理服务器会自动保存显示前 100 条日志,可以手动清除

      The running proxy server automatically saves and displays the first 100 logs, which can be manually cleared

    • 在代理服务器列表上有四个按钮分别是:启动/停止、编辑、显示日志、删除
  • 清除日志,点击清除日志即可勾选要清除日志的服务器

    To clear logs, click Clear Logs to select the server to clear logs

miecz9.png