Visual Studio Code debug adapter for Datasonnet and JsonnetThis is a Visual Studio Code extension that adds support for debugging Datasonnet and Jsonnet scripts. This implementation is based on the Camel VS Code Debugger Debugging DatasonnetThis extension uses the Datasonnet Mapper to execute the scripts. You can debug and run Datasonnet and Jsonnet scripts. Datasonnet adds supports for different formats like XML, CSV and YAML, provides libraries supporting extra functionality to what Jsonnet provides, and is used primary as a mapping tool. You can check more example in its cookbook. To debug a script, just open it on the editor and create a launch configuration. The minimal launch configuration is:
This will run the
The input content type is inferred from the file extension. And if you need to specify an output type other than JSON, set the following type to the appropriate MIME type:
DependenciesTo be able to set breakpoints, you need to install a Datasonner Language Exstension. While we have this extension in preview, you'll need to manually install the extension from a VSIX file. The file can be found on this extension's repo Once you have the file, you can go on VS Code to the Once you have both extensions enabled, they'll look like this: Features
IssuesSomething is not working properly? In that case, feel free to open issues, add feature requests, report bugs, etc. |