Skip to content

Commit

Permalink
add DEBUG macro
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarftoro committed May 27, 2015
1 parent c3d6a04 commit b6b6475
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/xml_viewer_ws_handler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ init(_Transport, Req, _Opts, _Active) ->
{ok, Req, undefined_state}.

stream(Data, Req, State) ->
{reply, Data, Req, State}.


?DEBUG(Data),
?DEBUG(Req),

{reply, Data, Req, State}.

info(_Info, Req, State) ->
{ok, Req, State}.

Expand Down

0 comments on commit b6b6475

Please sign in to comment.