added apigee script debug mode
diff --git a/tasks/main.yml b/tasks/main.yml
index dd89bc1..22dda58 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -34,7 +34,7 @@
       path: "{{ item.path }}"
       backrefs: yes
       backup: yes
-      regexp: '^({{ bash_regex }}$).*(-x)'
+      regexp: '^({{ bash_regex }}) -x'
       line: '\1'
     with_items: "{{ debug_scripts.files }}"