How to debug PHP code in brower console?

Game development with Board Game Arena Studio
Post Reply
Dazeka
Posts: 2
Joined: 13 September 2022, 09:03

How to debug PHP code in brower console?

Post 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?
User avatar
SwHawk
Posts: 133
Joined: 23 August 2015, 16:45

Re: How to debug PHP code in brower console?

Post by SwHawk »

Dazeka
Posts: 2
Joined: 13 September 2022, 09:03

Re: How to debug PHP code in brower console?

Post 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!!
Post Reply

Return to “Developers”