Toggle the client-side debugging informations.
When turned on, the developer is able to inspect all server messages that are sent and received by the client in the Flash authoring environment.
This allows a better debugging of the interaction with the server during application developement.
When turned on, the developer is able to inspect all server messages that are sent and received by the client in the Flash authoring environment.
This allows a better debugging of the interaction with the server during application developement.


Version:
SmartFoxServer Basic / Pro

The following example shows how to turn on SmartFoxServer API debugging.
CopyC#

SmartFoxClient smartFox = new SmartFoxClient(); bool runningLocally = true; string ip; int port; if (runningLocally) { smartFox.debug = true; ip = "127.0.0.1"; port = 9339; } else { smartFox.debug = false; ip = "100.101.102.103"; port = 9333; } smartFox.Connect(ip, port);