Page 1 of 1

How to debug PHP code in brower console?

Posted: 27 December 2022, 10:19
by Dazeka
Is there any way to log Variable in PHP? :?:

I want to debug PHP code such as game.php ,but the PHP code is on BGA servers.How can I debug in PHP code?
Is there any function or code segment in PHP can log in brower console?Just like "console.log(XXX)" in JS.

Furthermore,can I log some Complex data types such as array or object in brower?

Re: How to debug PHP code in brower console?

Posted: 27 December 2022, 10:24
by SwHawk

Re: How to debug PHP code in brower console?

Posted: 27 December 2022, 11:09
by Dazeka
SwHawk wrote: 27 December 2022, 10:24 Please refer to this article on the BGA Studio Wiki
thx my friends you are so kind!!