On May 23, 2014, at 9:10 AM, Mark Fisher <[email protected]> wrote:

> Has anyone got a working setup for debugging a kioo application with austin?
> 
> I'm struggling to work out how to put the 
> (cemerick.austin.repls/browser-connected-repl-js) into a page, in the austin 
> browser example, this is done by enlive appending a javascript script element 
> (in clj).
> 
> In kioo, i'm using templates, and all my code is in cljs, so I can't call 
> that method, and am unclear how to inject the browser code to hook into the 
> austin clojurescript nrepl environment.

I use Kioo, Om, and I have also used Austin.

It seems like you are attempting to add the Austin javascript code to your page 
from ClojureScript/Kioo in the browser after your initial page has been loaded.
That is an interesting idea, but I confess I never attempted to do that...
I'd recommend reviewing the timing/sequencing of establishing an Austin browser 
REPL to make sure that is something that could possibly work, it would be cool 
if it worked!
AFAICT there is server side stuff that needs to happen to support any browser 
REPL (Austin or others), so make sure that server side setup is happening even 
if you
are invoking the browser side dynamically....

To date, I have always added this js to my page on the server side, before 
loading it into the browser.

FYI, I have had a lot of issues with stability/fragility of Austin browser 
REPLs, and I am not sure what the issue is, perhaps it is a problem with my 
code, but recently
i switched to tomjakubowski/weasel via james-henderson/simple-brepl, and this 
browser REPL has been rock-solid for me, so I highly recommend it if you
encounter issues with Austin.....I wish I had switched to Weasel weeks ago, I 
would have saved a lot of pain and frustration.







-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to