Error formatting macro: pagetree: java.lang.NullPointerException
Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History


As with most current compile-to-JavaScript languages - ClojureScript presents some challenges for interactive debugging.  Source mapping can help us understand how our JavaScript maps to ClojureScript - but this alone is not enough. Being able to set breakpoints, step through code, and evaluate code in context greatly increases our ability to understand the nature of a particular programmer error. 

WebKit Remote Debugging Protocol

Developer builds of Chrome now support a remote debugging protocol. Already this protocol supports much of what is needed to build high quality debugging tools for ClojureScript. Coupled with source-mapping and analysis, it should be possible to develop sexpr level stepping and debugging of ClojureScript source.