is debugger.port/debugger.host possible in dbg free version? |
Site Admin
|
but why? |
||||||||||||||
_________________ The PHP IDE team |
|
cause this solution may be a security hole
cause debug sessions run through my server if i don't need to use DBGSESSID arguments i can make it more secure so my question: is it possible in the free verison? or does my config just don't work |
||||||||||||
|
Site Admin
|
free versions (2.15, 2.13 or 2.11) support JIT debugging. It's when debugger module initiates debug session and connects at the address specified in the settings. But they still support DBGSESSID and therefore debug session can be requested by everybody. I agree that it is not quite safe for public servers.
If you need IP-based security (it's when only specified hosts can start debugger), you'd check commercial version of debugger (3.0.6 at the moment). |
||||||||||||
_________________ The PHP IDE team |
|
i changed my config
but dbg want's to connect to standard port 7869 on localhost which doesn't work i just looked in the source code and i can't really find the problem to this like a typo or such so why it's not working? any hints? btw: the extension is loaded and using DBGSESSID param it works but why doesn't changing JIT port work?[/quote] |
||||||||||||||
|
Site Admin
|
JIT port/host are used for JIT sessions only. Latter happens only upon errors/warnings or notices when their level is higher than specified in debugger.JIT_level. That's the only purpose for JIT (which btw stands for "just in time", or debugging from the error point).
If you need IP-based security, try commercial version of debugger (3.1.6) that checks if requested address and port match allowed/denied lists in settings. |
||||||||||||
_________________ The PHP IDE team |
|
thx dmitri
seems i misunderstood JIT but i have another question if JIT debugging is "debugging in case of an error" is it possible with DBG that i have a php code without any DebugBreak(); commands and using eclipse to make a breakpoint? my problem currently is: using DBGSESSID i can set to which host to connect, right? using JIT config params i can set default values so i don't need DBGSESSID BUT this would mean the config is only used in case of an error currently i have problems with eclipse cause it only starts debugging using DebugBreak(); and if i understand it correctly, this is how it works, right? i mean, DBG only connects to eclipse, IF debugbreak occures OR and error so if i want to debug the script from the first line, i have to use debugbreak cause a breakpoint in eclipse can't work, because DBG only connects in case of error or debugbreak? thx dmitri |
||||||||||||
|
Site Admin
|
Definitely, debugger itself supports it through its API. But finally functionality depends on the IDE. Check out PhpED IDE and you'll see it supports breakpoints with no problems and with no modifications in the code. |
||||||||||||||
_________________ The PHP IDE team |
|
when does DBG connect to the IDE? and which conditions affect this behaviour?
right after the script started? on error? (JIT) |
||||||||||||
|
Site Admin
|
You asked if that functionality (breakpoints) works without modification of code.
Sorry if I did not make it clear. Yes, that functionality (breakpoints) works without modification of code. It works by just placing breakpoints (red marks in most IDEs) and IT IS IDE that tells debugger where and how to set breakpoints and if it does this wrongly or does not do it at all they won't trigger. We do support only NuSphere PhpED IDE and it is known to work great with breakpoints. |
||||||||||||
_________________ The PHP IDE team |
|
yeah, i'm working with eclipse and it seems there i have a little problem with the paths
which seems everyone has thx |
||||||||||||
|
Site Admin
|
I would not expect a commercial quality from non-commercial products like php-eclipse. At least in long terms.
|
||||||||||||
_________________ The PHP IDE team |
is debugger.port/debugger.host possible in dbg free version? |
|
||
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