VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
itche at bridgeport.edu Guest
|
Posted: Thu Mar 12, 2009 3:05 pm Post subject: [Freeswitch-users] javascript debug |
|
|
Hello all,
I'm new to this very nice system
I'm looking into writing javascripts to interact with the system.
How can one debug, run step by step and get variables values the
javascripts running under this system? For example I have setup the sample
script that do the "tone tests" but I cant find a way to single step it
and to look into it.
Thanks
Itche
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Thu Mar 12, 2009 3:09 pm Post subject: [Freeswitch-users] javascript debug |
|
|
On Thu, Mar 12, 2009 at 12:26 PM, <itche@bridgeport.edu> wrote:
Quote: | Hello all,
I'm new to this very nice system
I'm looking into writing javascripts to interact with the system.
How can one debug, run step by step and get variables values the
javascripts running under this system? For example I have setup the sample
script that do the "tone tests" but I cant find a way to single step it
and to look into it.
|
I think you're unable to step through scripts that are launched
"inside" of FS. Your best bet is to use lots of console log messages.
I prefer to use the INFO level so that I don't see all the debug
messages flying by:
console_log("info", "This line should appear in green letters on the
FS CLI.\n");
You can also print the values of variables using this function.
-MC
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|