Step Debugging - Xdebug Listen / breakpntt: nav extrnl brwsr |
Site Admin
|
If web server runs a script in response to URL and the script stops execution and turns into listening state in attempt to wait for the IDE, such web server will easily clutter your server with script instances all waiting for the IDE -- the more customers open the URL the more scripts will turn into waiting. It does not make much sense, at least not for production or semi-production environments.
We have implemented this differently -- the script initiates debug connection toward the IDE and it's IDE is listening for the debug sessions. As of what you need as a feature -- sure, it's supported -- once the script connected the the IDE, latter will set breakpoints and let you continue execution in debugger. Script can initiate debug session in 3 cases -- if it is explicitly requested to do so with DEBGSESSID variable in request, upon error, if this trigger is enabled, and on DebugBreak() function call. I think these 3 cases cover what you need. |
||||||||||||
_________________ The PHP IDE team |
|
Yes. Thank you. Your summary explains it well.
|
||||||||||||
|
|
Why would ANYONE be running this IDE in a production environment? You seriously feel a need to address that? |
||||||||||||||
|
|
Yes, IDE is never supposed for use in production. Otherwise it would be very unprofessional & probably first time in my 20 yrs experience .. not to mention VERY dangerous for your users - it would be like developing eshop in front of buying customers, right? |
||||||||||||||||
Last edited by lubosdz on Wed Oct 19, 2022 4:10 pm; edited 1 time in total |
Site Admin
|
Never say never. It depends. Right, it's appropriate to have dedicated environments for development purposes and I would not encourage anyone to install debugger in production, but it does not mean it's impossible and absolutely dangerous. Quite the opposite -- I saw this more than once last 21 years -- the life time of dbg debugger. It helped developers track down issues and I got many positive feedbacks.
|
||||||||||||
_________________ The PHP IDE team |
Step Debugging - Xdebug Listen / breakpntt: nav extrnl brwsr |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by