           opts' (:repl-opts figwheel-env)]
       (apply cljs-repl figwheel-env (apply concat opts')))
     (catch Exception e
+      (println "!!!" (.getMessage e))
       (let [message "Failed to launch Figwheel CLJS REPL: nREPL connection found but unable to load piggieback.
 This is commonly caused by 
  A) not providing piggieback as a dependency and/or 

      {})))

(defn clean-stacktrace [stack-trace]
    (map #(update-in % [:file]
                   (fn [x]
                     (when (string? x)
                       (first (string/split x #"\?")))))

           (throw (ex-info "Hey" {})))))))

(defn connection-count [figwheel-server build-id]
  (get (server/connection-data figwheel-server) build-id))

(defn prompt-fn [figwheel-server build-id]
  (if (in-nrepl-env?)
    #(when-let [c (connection-count figwheel-server build-id)]
       (when (> c 1)
         (with-color-when (-> figwheel-server :ansi-color-output)
           (println
            (color
             (str "v------- " build-id "!{:conn " c "} -------")
             :magenta)))))
    #(print
      (str
       (when build-id (str build-id ":"))
       ana/*cljs-ns*
       (when-let [c (connection-count figwheel-server build-id)]
         (when (< 1 c) (str "!{:conn " c "}")))
       "=> "))))

(defn cljs-repl-env
  ([build figwheel-server]
