[xdebug-general] Re: xdebug

From: Richard Dunne <richarddunnebsc[@]gmail.com>
Date: Sun, 18 Mar 2018 15:38:11 +0000

I'm familiar with code breakpoints, not the form handler. Is there any
documentation on that?

On Sun, 18 Mar 2018 at 07:58 Tim Hawkins <tim.thawkins[@]gmail.com> wrote:

> You need to set a breakpoint on your form handler with your ide.
>
> On Sun, Mar 18, 2018, 10:52 Richard Dunne <richarddunnebsc[@]gmail.com>
> wrote:
>
>> These are the ini settings
>> zend_extension =
>> "c:\wamp64\bin\php\php7.1.9\ext\php_xdebug-2.6.0-7.1-vc14-x86_64.dll"
>>
>> xdebug.remote_enable = On
>> xdebug.remote_autostart = 1
>> xdebug.remote_log = "c:/wamp64/php/php7.1.9"
>> xdebug.profiler_enable = off
>> xdebug.profiler_enable_trigger = Off
>> xdebug.profiler_output_name = cachegrind.out.%t.%p
>> xdebug.profiler_output_dir ="c:/wamp64/tmp"
>> xdebug.show_local_vars=0
>>
>> "There are handful of nice browser plugins out there where you can enable
>> the sending of the appropriate data to trigger the Xdebug session"
>> This is new information. I thought once the debugger was set to Listen
>> for Xdebug, that's all that was required. I added XDebug Helper to
>> Chrome. Does it required any config within Visual Studio Code or php.ini?
>> Does XDebug Helper engage XDebug when a form is submitted?
>>
>>
>>
>> On Sat, 17 Mar 2018 at 21:49 Spencer Williams <enderandpeter[@]yahoo.com>
>> wrote:
>>
>>> On 3/16/2018 12:34 PM, Richard Dunne wrote:
>>>
>>> How do I get XDebug to start debugging when I submit a form?. I start
>>> the debugger, Step buttons are inactive and nothing happens when I submit a
>>> form. Are there any tutorials for this?
>>> --
>>> Sincerely,
>>>
>>> Richard Dunne B.Sc.
>>>
>>>
>>> Did you get it working? What xdebug INI settings have you set? Make
>>> sure to at least enable xdebug.remote_enable. Is the web server running
>>> directly on the host machine? Or in a VM of some kind? If the latter is the
>>> case, then you'll want to make sure xdebug.remote_host is set
>>> appropriately, as xdebug.remote_connect_back might not get the
>>> appropriate hostname/IP automatically.
>>>
>>> Also, you can either set xdebug.remote_autostart or make sure you set a
>>> request variable or cookie of the expected name and value
>>> <https://xdebug.org/docs/remote#browser_session> when submitting the
>>> form. There are handful of nice browser plugins out there where you can
>>> enable the sending of the appropriate data to trigger the Xdebug session.
>>> And make sure your IDE is listening for Xdebug responses, of course. If
>>> anything, you can set xdebug.remote_log to try to get a better idea of
>>> what might be going on.
>>>
>>> Let us know how things progress...
>>>
>>>
>>> --Spencer
>>>
>> --
>> Sincerely,
>>
>> Richard Dunne B.Sc.
>>
> --
Sincerely,

Richard Dunne B.Sc.
Received on Sun Mar 18 2018 - 15:38:23 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST