In a chrome dev tool, you can see the call stack for the script-initiated network request. Is there any way I can capture it programmatically?