Or just add a Shortkey in Sublime.
I try to set it in the Deafult (OSX). sublime-keymap but do not know the “cmd” for the breakpoint toggle at the “???”.
{ “keys”: [“F9”], “command”: “corona_debugger”, “args”: {“cmd”: “???”} },
Also it would be nice to know the keymap parameters for ‘inspect variable’ shortkey Control+W.
Just starting to struggle with Sublime and Corona, soz for the perhaps ‘noob’ questions.
Regards, Marc
Closed: Found it myself
Breakpoint = “setb”
Watch = “dump”
[
{ “keys”: [“F9”], “command”: “corona_debugger”, “args”: {“cmd”: “setb”} },
{ “keys”: [“ctrl+w”], “command”: “corona_debugger”, “args”: {“cmd”: “dump”} }
]
For nice debugging, do not forget to ‘kill’ the default F11 - Switch to desktop in the Mac Keyboard settings and also set the ‘Use all F1,F2, etc… as standard function keys’ switch.
Also put all .lua files in the folder where the ‘main.lua’ exists since the debugger has a bug which prevents to open .la files outside the main folder for debugging purposes. Use filename specific sorting to keep the folder readable.
Just for you all like me who are new to Mac’s too