(function(L) {

  'use strict';
  
  var setupActions = [
    function(barr) {
      L.lvent.trigger('setup:before', L, barr);
    },
    function(barr) {
      L.lvent.trigger('setup:upgrade:before', L, barr);
    },
    function(barr) {
      L.lvent.trigger('setup:upgrade', L, barr);
    },
    function(barr) {
      L.lvent.trigger('setup:upgrade:after', L, barr);
    },
    function(barr) {
      L.lvent.trigger('setup:models:before', L, barr);
    },
    function(barr) {
      L.lvent.trigger('setup:models', L, barr);
    },
    function(barr) {
      L.lvent.trigger('setup:models:after', L, barr);
    },
    function(barr) {
      barr.aquire();
      $(function() {
        L.lvent.trigger('setup:views:before', L, barr);
        barr.release();
      });
    },
    function(barr) {
      L.lvent.trigger('setup:views', L, barr);
    },
    function(barr) {
      L.lvent.trigger('setup:views:after', L, barr);
    },
    function(barr) {
      L.lvent.trigger('setup:after', L, barr);
    }
  ];

  var callSetupAction = function(i) {
    if (setupActions.length <= i) return;

    var barr = new Barrier();
    setupActions[i](barr);
    barr.wait(callSetupAction, i+1);
  };

  callSetupAction(0);
})(ListIt);

@@ -64,32 +64,61 @@
 unction(barr) %7B%0A
+      debug(%22setup::begin%22);%0A
       L.lvent.tr
@@ -169,32 +169,70 @@
 unction(barr) %7B%0A
+      debug(%22setup::upgrade::begin%22);%0A
       L.lvent.tr
@@ -435,39 +435,112 @@
 r);%0A    
-%7D,%0A    function(barr) %7B
+  debug(%22setup::upgrade::end%22);%0A    %7D,%0A    function(barr) %7B%0A      debug(%22setup::models::begin%22);
 %0A      L
@@ -737,32 +737,67 @@
 ter', L, barr);%0A
+      debug(%22setup::models::end%22);%0A
     %7D,%0A    funct
@@ -846,24 +846,62 @@
 unction() %7B%0A
+        debug(%22setup::views::begin%22);%0A
         L.lv
@@ -1126,32 +1126,66 @@
 ter', L, barr);%0A
+      debug(%22setup::views::end%22);%0A
     %7D,%0A    funct
@@ -1239,24 +1239,51 @@
 , L, barr);%0A
+      debug(%22setup::end%22);%0A
     %7D%0A  %5D;%0A%0A

Add debugging messages to setup.