Comments (5)
Adding onto this, it might be valuable if the devserver had native support for routing proxy requests through a proxy (like MITMProxy). This can be helpful for debugging errors with API requests that happen in the context of the server.
from pwa-kit.
This approach is likely also blocked by #733. Wait βΒ this is only useful for local development, which doesn't have this issue.
from pwa-kit.
This issue has been linked to a new work item: W-12145701
from pwa-kit.
Besides the use case of routing traffic through a proxy to adhere to corporate network policies, it can also be useful to route traffic through a proxy to help with debugging:
Screenshare.-.2023-02-24.2_15_45.PM.1.mp4
from pwa-kit.
It would also be useful if there was a feature switch you could enable to see what network requests your app is making.
Something similar to NODE_DEBUG=http
Could potentially be implemented as part of our default agent and toggled using upcoming support for environment variables:
from pwa-kit.
Related Issues (20)
- [BUG] Unsupported engine on NodeJS 22, NPM 10 HOT 1
- [DOCS] Examples of extending webpack configuration HOT 1
- [FEATURE] Support multiple `siteAliases` for a B2C Commerce Site HOT 1
- [FEATURE] Harden token handling
- [FEATURE] Support Agent Login π
- [BUG] Enabled attribute not working for the registerCustomer (Shopper Customers) endpoint HOT 1
- [BUG] Profile edit deletes addreses from useCurrentCustomer response HOT 2
- [BUG] Concurrent request issue when registering a disabled customer HOT 3
- [FEATURE] Ability to have private proxy URL by default in useCommerceApi HOT 8
- [BUG] Not getting correct secret key in callback controller trigerred by SLAS HOT 6
- [BUG] Cannot proceed when Logging in during checkout HOT 1
- [BUG] getTrustedAgentAccessToken don't work with private custom proxy. HOT 1
- [BUG] PWA fetches SCAPI data during hydration HOT 2
- [BUG] Error handling issues HOT 2
- [BUG] Default product-scroller skips tiles (desktop) HOT 2
- [BUG] unable to provide request parameters to useCustomMutation`mutate` method
- [BUG] Regression in wishlist page with `No Wishlist Items` HOT 1
- [FEATURE] - Request to add Storybook example with Providers
- Not able to update custom attributes for customer payment instrument inside custom API script HOT 1
- [BUG] `commerce-sdk-react` sets incorrect TTL for "refresh" token HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwa-kit.