Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Debugging JavaScript and Freemarker Code

 
Fred Victa
Ranch Hand
Posts: 189
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What tools can I use to debug JavaScript code and Freemarker template code? Does anyone have any tips for debugging JavaScript code and Freemarker template code?
 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Fred,

You can use FireBug addon with your firefox to debug your JavaScript.

I am not sure about Freemarker as of now. Don't know even is it possible right now.

cheers

 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript runs on the client, whereas FreeMarker is interpreted on the server, so most debugging approaches will work for both as they're focused on one side but not the other. I think IDEs like IntelliJ, Eclipse and NetBeans allow combined client and server debugging.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im' not really sure what are you doing to achieve but since you mentioned JavaScript and FreeMarker, have a look at Handlebars.js or Dust.js
Maybe both will ring a bell to you?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic