chimurai / http-proxy-middleware

:zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more
MIT License
10.7k stars 834 forks source link

feat(debug): improve troubleshooting #752

Closed chimurai closed 2 years ago

chimurai commented 2 years ago

Description

Verbose output to troubleshoot issues.

Add environment variable to enable verbose logging: DEBUG=http-proxy-middleware*

Motivation and Context

Improve troubleshooting

fixes https://github.com/chimurai/http-proxy-middleware/discussions/530 fixes https://github.com/chimurai/http-proxy-middleware/discussions/685

How has this been tested?

Types of changes

Checklist:

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.2%) to 97.531% when pulling e3326c707e0bb0b254436bce595bf56a7df7c2bd on debugging into 1338ea0dbb038e2bf16df2efb5641afcfde85612 on v3.