When I know which API call is going wrong but not which line of code sends it, I do not want to search the whole bundle. A breakpoint on the URL gets me there.
In the Sources panel, expand the XHR Breakpoints pane and click Add breakpoint. Enter the string to match and press Enter. DevTools pauses when that string appears anywhere in the request URL of an XHR, and it stops on the line where the code calls send().
/api/orders
With that breakpoint, a click on the checkout button pauses right where the order request goes out. The call stack then shows which functions led to it, so you find the code that builds the request from the other side.
Because it matches a substring, you can pick as much or as little as you like. A short string such as /api/ pauses on every call to the API, which is handy to see how many there are, and a longer one narrows it to a single endpoint.
There are other kinds of breakpoints in the same panel, such as Event Listener Breakpoints, where you can tick a category like Animation or a single event like click. For the DOM side, Elements offers Break on for subtree and attribute changes.
The wording needs a check. The docs section is called XHR/fetch breakpoints, but its steps only describe the pause at an XHR’s send() call, and I did not test a page that uses fetch. Try it on your own page before you rely on it. If it does not stop, the Network panel’s Initiator column links to the code that caused the request.
Further reading: Chrome DevTools: breakpoints, Chrome DevTools: Network features