Skip to content

Add option to limit number of parallel debug connections #353

@iandunn

Description

@iandunn

When I'm debugging I often have multiple browser tabs open for the site, to test various aspects of it. Those pages often have "heartbeat" XHR requests that run automatically every ~30 seconds. Every time a new request comes in, the Run and Debug panel switches to it, and I have to stop the new request, then go back to my original one. That makes debugging very frustrating.

I think it'd be useful to have an option to limit the number of parallel requests, similar to the maxConnections option in the Xdebug extension.


Note: I've tried adding the endpoint filename to the exclude param, but that doesn't do what I want. I want to completely ignore any requests to a specific URL/file, rather than processing the request but bypass the file when stepping through the code.

As a workaround, I've tried enabling both extensions, but this one always seems to process the request, and I haven't found a way to make the Xdebug one "win" the conflict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions