Skip to content

Instantly share code, notes, and snippets.

@mikeivanov
Last active January 1, 2016 02:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeivanov/25dc4d4c2cbfc6cfb5d4 to your computer and use it in GitHub Desktop.
Save mikeivanov/25dc4d4c2cbfc6cfb5d4 to your computer and use it in GitHub Desktop.
(in-package swank)
(setq swank-debugger-hook-orig #'swank-debugger-hook)
(defun swank-debugger-hook (condition hook)
(etypecase condition
(sb-int:simple-stream-error
(progn
(princ "*** Stream error" *error-output*)
(abort)))
(t (funcall swank-debugger-hook-orig condition hook))))
(in-package cl-user)
(swank:create-server :port 4008 :dont-close t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment