{# NietonfirRaygunBundle/Resources/views/setup.html.twig #}
<script type="text/javascript">
  rg4js('apiKey', '{{ raygun_api_key }}');
  rg4js('enableCrashReporting', true);
  {% if enable_pulse|default(false) == true %}
    rg4js('enablePulse', true);
  {% endif %}
</script>

{# NietonfirRaygunBundle/Resources/views/setup.html.twig #}
<script type="text/javascript">
  rg4js('apiKey', '{{ raygun_api_key }}');
  rg4js('enableCrashReporting', true);
  {% if enable_pulse|default(false) == true %}
    rg4js('attach', true);
    rg4js('enablePulse', true);
  {% endif %}
</script>

Set 'attach' to true for raygun pulse
Set 'attach' to true for raygun pulse

according to the documentation:
https://raygun.io/docs/pulse/getting-started
