| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
| 3 |
<plist version="1.0"> |
| 4 |
<dict> |
| 5 |
<key>beforeRunningCommand</key> |
| 6 |
<string>nop</string> |
| 7 |
<key>command</key> |
| 8 |
<string>#!/usr/bin/env ruby |
| 9 |
|
| 10 |
require "#{ENV["TM_BUNDLE_SUPPORT"]}/lib/ruby_amp.rb" |
| 11 |
|
| 12 |
d = RubyAMP::RemoteDebugger.new |
| 13 |
exit unless d.connected? |
| 14 |
|
| 15 |
source = ENV['TM_FILEPATH'] |
| 16 |
line = ENV['TM_LINE_NUMBER'] |
| 17 |
|
| 18 |
if d.breakpoint.add(source, line) |
| 19 |
puts "Set breakpoint at #{source}:#{line}" |
| 20 |
else |
| 21 |
puts "Failed to set breakpoint." |
| 22 |
end</string> |
| 23 |
<key>fallbackInput</key> |
| 24 |
<string>line</string> |
| 25 |
<key>input</key> |
| 26 |
<string>selection</string> |
| 27 |
<key>keyEquivalent</key> |
| 28 |
<string>^b</string> |
| 29 |
<key>name</key> |
| 30 |
<string>Debug - Set Breakpoint at Current Line</string> |
| 31 |
<key>output</key> |
| 32 |
<string>showAsTooltip</string> |
| 33 |
<key>uuid</key> |
| 34 |
<string>0ECC400E-11C0-4668-936B-25153FDC41BC</string> |
| 35 |
</dict> |
| 36 |
</plist> |