   (mocha-run))
 
 ;;;###autoload
+(defun mocha-debug-project ()
+  "Debug the current project."
+  (interactive)
+  (mocha-debug))
+
+;;;###autoload
 (defun mocha-test-file ()
   "Test the current file."
   (interactive)
   (mocha-run (buffer-file-name)))
 
 ;;;###autoload
+(defun mocha-debug-file ()
+  "Debug the current file."
+  (interactive)
+  (mocha-debug (buffer-file-name)))
+
+;;;###autoload
 (defun mocha-test-at-point ()
   "Test the current innermost 'it' or 'describe' or the file if none is found."
   (interactive)

  :type 'string
  :group 'mocha)

(defvar mocha-project-test-directory nil)

(defvar node-error-regexp

    (mocha-run file test-at-point)))

;;;###autoload
(defun mocha-debug-at-point ()
  "Debug the current innermost 'it' or 'describe' or the file if none is found."
  (interactive)
