Hello!
My next step in achieving developer productivity nirvana is to figure out how to get integrated debugging working with Stratified.js code within Visual Studio 2015.
This involves files that have extension .sjs which get loaded using require, as well as inline scripts that have the type="text/sjs" attribute.
(Thankfully, I now have the require function working great!)
I believe I may be part of the way to getting debugging to work because I went into Tools/Options/File Extension and added sjs and pointed it to the JavaScript Editor. I also tried checking the checkbox at the bottom of that page that says "Map extensionless files to:" and I selected JavaScript Editor. These settings have made the text editor so that now it provides color coding and intellisense right in my .sjs files. GREAT!
Next step is to get debugging to work. I can set a breakpoint in my .sjs file, and before I run the project the breakpoint has a solid red circle so it looks like it is going to work. But when I run the project the solid red circle changes to have a white center, and the breakpoint does not fire when execution gets to it. Furthermore, when I float my mouse over that breakpoint, I get this message in the IDE:
The breakpoint will not currently be hit. No symbols have been loaded for this document.
Location: CMStratified.sjs, line 199 character 2
I realize this is a question that is specific to Visual Studio, and believe me I am going to scour the web tomorrow for a solution. But this is also a question that the kind folks that make Stratified.js may have encountered before. It is also a question that, once answered, will provide lots of value to the Stratified.js community because of the popularity of Visual Studio and the high level of developer productivity that this solution will afford.
Many thanks for all thoughts!