ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.34k stars 177 forks source link

Breakpoints/Map Local etc not working when using Atlantis over Personal Hotspot #2033

Open cameroncooke opened 1 month ago

cameroncooke commented 1 month ago

Description

I'm using the Personal Hotspot feature of iOS between my laptop and iPhone and then using Atlantis to capture traffic. While I can see requests in Proxyman my enabled breakpoints are not triggering.

Map Local also doesn't work so it's likey neither does Map Remote but I haven't gone that far as testing.

Steps to Reproduce

  1. Connect a Mac and Phone using the phone's personal hotspot feature
  2. Install Atlantis as per the install instructions
  3. Enable Breakpoints and create a breakpoint for a URL that the app will making a request of

Current Behavior

See above.

Expected Behavior

Breakpoint to be executed

Environment

NghiaTranUIT commented 1 month ago

it's how Atlantis works.

Atlantis doesn't perform any mitm-proxy, so it's not capable of modifying data by using Map Local, Breakpoint, etc

Atlantis, performs the method swizzling on URLSessions's methods on runtime -> Capture the data -> Send to Proxyman for previewing. As a result, it works out of the box, no need to install any certificates or configure the proxy.

It's a known limitation, and I don't have any solution to fix it.

Here is the summary:

cameroncooke commented 1 month ago

Ah I see, that's not clear at all in the Proxyman setup UI, so it's assumed it has all the same functionality. Not an issue though I guess I can't do peer to peer proxying 😢

cameroncooke commented 1 month ago

Might be worth under the bullet points of the supported capability just listing what it isn't capable of doing, I assumed it was a magic bullet.

cameroncooke commented 1 month ago

Just realised I can do breakpoints in iOS app, can I import my breakpoint settings from Mac?