Configure Whoops to Open in Atom Editor using Homestead

Mike Bronner
Homesteading Like An Artisan
2 min readDec 12, 2017

--

Laravel 5.5.25 provided native functionality to configure an editor to allow opening of files in the stack trace from the rendered error page. This can be quite useful for speeding up the debug process.

Out of the box, this does not work with Homestead or Atom, so I embarked on a short quest to find a solution.

Requirements

Instructions

And that’s it! At this point you should be able to click on the file link at the top of the error detail pane and it should open in Atom.

Admittedly, this is not much of an article, as much as an outline of the process to get it set up, but I thought it was worth a few lines to show that we can use this functionality despite running Atom, and despite using Homestead! :)

Please do let me know what your experiences are with this. Thank you for reading. :)

Update 20 Dec 2017

I have updated the package to no longer require a separate protocol handler, but instead it takes advantage of Atom’s new URI Handling functionality in combination with the “Open” package for Atom.

--

--