protorepl

jasongilman 2017-01-04T00:40:59.000467Z

@seancorfield: I don't think it would be that hard to add an option to start a REPL with custom command. There's a way to connect to a remote repl. It pops up a window to type in the port. I could see adding this new feature and it pops up a window to type in the boot command to run. Would that work?

seancorfield 2017-01-04T00:41:46.000468Z

pre-populated with the default command, so a user could edit it ā€” yes

jasongilman 2017-01-04T00:42:30.000469Z

What would you expect to see as the default command?

seancorfield 2017-01-04T00:43:30.000470Z

Whatever Boot (or Lein) command it would normally run to start a REPL...

jasongilman 2017-01-04T00:44:04.000471Z

Ah I get it

jasongilman 2017-01-04T00:44:19.000472Z

--no-colors dev repl --server wait

seancorfield 2017-01-04T00:44:26.000473Z

e.g., Iā€™d normally see boot --no-colors cider repl --server wait for that and Iā€™d want to edit cider to select a different Boot task / context

jasongilman 2017-01-04T00:45:16.000474Z

Could you file an issue?

seancorfield 2017-01-04T00:46:08.000475Z

Sure. Wanted to check you were open to the idea first.

jasongilman 2017-01-04T00:49:10.000476Z

Yup it seems like a good feature.

jtmarmon 2017-01-04T01:12:23.000477Z

@seancorfield >@jtmarmon My other question remains unanswered: How exactly are you connection ProtoREPL to your existing running session? "Proto Repl: Remote Nrepl Connection" use the host and port filled in by default thanks to .lein-env

seancorfield 2017-01-04T01:29:38.000478Z

Hmm, in that case you should have the exact same environment as your running process...

seancorfield 2017-01-04T01:30:16.000479Z

When I connect into one of my already running instances, everything is available exactly as in the REPL itself.

seancorfield 2017-01-04T03:20:09.000480Z

https://github.com/jasongilman/proto-repl/issues/216 ā€” start nREPL with edit of command line first

seancorfield 2017-01-04T03:20:36.000483Z

(sorry that took a while, we lost Internet for a an hour or two)

zmaril 2017-01-04T20:44:23.000486Z

Is there a way of getting the stacktrace for the last error?

zmaril 2017-01-04T20:45:50.000488Z

*e will help, found it

2017-01-04T22:18:46.000489Z

@zmaril the general way is (clojure.repl/pst) since it pretty prints it šŸ˜‰

zmaril 2017-01-04T22:57:37.000490Z

Ah nice thanks