Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please make the debugger continue to listen for requests after disconnect when remote debugging #1369

Closed
djstauffer opened this issue Aug 31, 2016 · 3 comments
Labels
Milestone

Comments

@djstauffer
Copy link

Congrats on getting the debugger up and running!

I have one thing that I think would be very helpful for remote debugging. If you are running against a Perl program that is part of a web application running on, say Apache, often the Perl program will be executed multiple times to handle different requests as part of the application. Presently in order to debug this, you must restart the debugger in Intellij IDEA for every request. This can be really annoying if you are wanting to debug multiple requests (for instance, when several ajax calls each hit a Perl program on the web server side).

Is there a way to have the debugger in IDEA not stop listening to the port on behalf of Camelcade just because the first process that connected to it has disconnected? It would be very nice if it would continue to listen unless it has been explicitly stopped by the user.

Thanks for all of your work on this!

@djstauffer
Copy link
Author

As a workaround to this, I created a macro in IDEA that executes "Action:Resume" (F9), then "Action:Debug" (Shift-F9). I assigned a single key to that macro. That way, when I wish to resume execution of the remote Perl program (but continue debugging afterward), I can hit my assigned key instead of F9, and I get the behaviour I want.

@hurricup
Copy link
Collaborator

hurricup commented Sep 1, 2016

Ye, like the idea!

@hurricup hurricup added this to the 2.3 milestone Sep 2, 2016
@alschbpk
Copy link

I think it is a very useful and necessary proposal.

Thanks for your work! The implementation work is greatly simplified.

@hurricup hurricup modified the milestones: 2.3, test Oct 12, 2017
@hurricup hurricup added this to the 2018.1 milestone Nov 27, 2017
@hurricup hurricup modified the milestones: 2017.5, 2018.2 Feb 27, 2018
@hurricup hurricup removed this from the 2018.1 milestone Mar 27, 2018
@hurricup hurricup added this to the 2019.1 milestone Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants