Yeah, the IDE is painful. I think there are ways to expose the script files in drive and edit them outside (possibly even debug in eclipse in a very roundabout way? I might be dreaming). I wish they would integrate with jetbrains (as they've done with android)