// THIS FILE WAS AUTO-GENERATED
// Source: lib/templates/backends/typescriptGenerator/debugger.mustache
// Any manual changes will be lost.
import { apply } from "typestache";
export const template = `const __dbg = await debugStep(__ctx, {
  moduleId: {{{moduleId:string}}},
  scopeName: {{{scopeName:string}}},
  stepPath: {{{stepPath:string}}},
  label: {{{label:string}}},
  nodeContext: {{{nodeContext:boolean}}},
  isUserAdded: {{{isUserAdded:boolean}}},
});
if (__dbg) {
  {{#nodeContext}}
  return { messages: __threads(), data: __dbg };
  {{/nodeContext}}
  {{^nodeContext}}
  return __dbg;
  {{/nodeContext}}
}
`;
const render = (args) => {
    return apply(template, args);
};
export default render;
