From 1b73438de4c407b602e2e60f85be8884ed5c3a4e Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 19 Jan 2016 20:06:25 +0100 Subject: add debug function for "leap debug" --- lib/leap_cli/remote/leap_plugin.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/leap_cli/remote/leap_plugin.rb b/lib/leap_cli/remote/leap_plugin.rb index 0106d85..21e69ee 100644 --- a/lib/leap_cli/remote/leap_plugin.rb +++ b/lib/leap_cli/remote/leap_plugin.rb @@ -65,6 +65,13 @@ module LeapCli; module Remote; module LeapPlugin run "touch #{Leap::Platform.init_path}" end + # + # dumps debugging information + # # + def debug + run "#{Leap::Platform.leap_dir}/bin/debug.sh" + end + # # dumps the recent deploy history to the console # @@ -214,4 +221,4 @@ module LeapCli; module Remote; module LeapPlugin # end # puts "finished with return code: #{return_code}" -end; end; end \ No newline at end of file +end; end; end -- cgit v1.2.3