App::mirai - debugging for Future-based code
# Just trace a single script to STDOUT/STDERR: mirai-trace script.pl # Run the Tickit interface, and have it load the script as a separate process, directing # STDOUT/STDERR to windows in the UI and communicating via pipepair mirai script.pl # eventually, the following options may also be added: # start an IO::Async::Listener on the given port/socket file. Means the event loop needs to # be running, but should be able to hook into an existing application without too much trouble. # Some complications around Future nesting (Futures are created by the debugger itself) but # that's easy enough to work around perl -d:Mirai=localhost:1234 script.pl perl -d:Mirai=/tmp/mirai.sock script.pl # Run Tickit interface directly, presuming that the code itself is silent - everything is # in-process, so no need for debugging to go via pipes perl -Mirai script.pl
The UI is currently Tickit-based.
Early preview screenshot:
There's a web interface in the works as well.
The name "mirai" (未来) was chosen because it's short and somewhat related to the concept of the code, plus it seemed like a better option than chigiri (契り) at the time.
Defines the serialisation format to use.
Starts the child process for running the code-under-test.
Tom Molesworth <email@example.com>
Copyright Tom Molesworth 2014-2015. Licensed under the same terms as Perl itself.