Is it possible to execute arbitrary PHP code or at least change the value of variables during a breakpoint using xdebug remote debugging? I am using the Sublime Text 2 SublimeXDebug plugin .
Xdebug supports changing variables through the DBGp protocol. It can also execute (eval) code. Some IDEs, such as Komodo and PhpStorm, allow you to change values โโthrough the IDE. It is very likely that others, such as SublimeXdebug, do not allow this.
Link to the property_set command of the DBGp command: http://www.xdebug.org/docs-dbgp.php#property-get-property-set-property-value The link for eval is located at: http://www.xdebug.org /docs-dbgp.php#eval
Source: https://habr.com/ru/post/1487587/More articles:php calls a "return" from another function - phpUICollectionView paging breaks after 2 ^ 24 pixels - iosFree up Opencl memory, cores, devices, etc. - c ++0/1 Knapsack Dynamic Programming Optimazion, from 2D matrix to 1D matrix - optimizationWhy is istream_iterator (ifstream ("test.txt")) causes an error? - c ++Resharper does not allow me to refactor a static method to an instance method - c #Understanding Threading / Synchronicity via JS setTimeout - javascriptScala comonads; Laws of the Komonada? - scalaMore questions after redirect-receiving, what am I doing wrong - google-chromeIntercept System.out and date adding time in Java - javaAll Articles