Separate script entries for each javascript file

With Rails when you include a single JS file such as application.js file that has statements like:

//=require_tree ./app

then in the HTML markup in development mode it will create a separate script tag for each of the JS files loaded by require_tree. This is really handy for debugging when you have a big app organised into many smaller component JS files. Only on deployment does it then concatenate to a single file.

I would like to do the same thing with Middleman but it seems by default that all the JS files are concatenated into the single file requested by the markup. Is there a way during development to have it expand the tag:

<%= javascript_include_tag  "all" %>

to create separate script tags for each of the sprokets included JS files like Rails does?

Thanks

Use:

set :debug_assets, true

Perfect, that does the trick, thanks!