This extension enables debugging of Grooper scripts using the Grooper web client. It launches the Grooper web client in a browser window when a debug session starts, and closes the browser window when the debug session ends. If the browser window is closed during a debug session, the debug session will be terminated. In this way,the browser window and debug session are synchronized, creating a developer experience similar to standard web application debugging in Visual Studio.
To configure a developer machine, follow the steps outlined below.
Install Chrome or Microsoft Edge as the default browser.
Install Grooper and the Grooper Web client.
Install Visual Studio with the 'ASP.NET and web development' workload enabled.
Launch Visual Studio, navigate to 'Tools / Options / Environment / Extensions' and enable the 'Allow synchronous autoload of extensions' option.
Download and install this extension.
Once these steps are complete, debugging may be performed as follows.
Open the Design page from a web browser on the development machine.
Navigate to a scriptable node, and select the 'Scripting' tab.
Use the 'Download' button to generate a Visual Studio project on the local hard drive of the development machine.