Skip to content

Commit 99f0bcf

Browse files
committed
Merge pull request #2489 from ajaxorg/rundebug_improvements
[Dijkstra] Rundebug improvements
2 parents bd6dd16 + 7998865 commit 99f0bcf

File tree

30 files changed

+1417
-444
lines changed

30 files changed

+1417
-444
lines changed

configs/default.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ var config = [
192192
"./cloud9.run.python",
193193
"./cloud9.run.apache",
194194
"./cloud9.run.php",
195+
"./cloud9.run.other",
195196
"architect/plugins/architect.log",
196197
"./cloud9.ide.auth",
197198
"./cloud9.ide.git",
@@ -209,6 +210,7 @@ var config = [
209210
"./cloud9.ide.run-apache",
210211
"./cloud9.ide.run-ruby",
211212
"./cloud9.ide.run-php",
213+
"./cloud9.ide.run-other",
212214
"./cloud9.run.python",
213215
"./cloud9.ide.revisions",
214216
{

plugins-client/ext.console/console.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,12 @@ module.exports = ext.register("ext/console/console", {
406406
createProcessLog: function(message_pid, lang) {
407407
lang = lang ? lang.replace(/-debug$/, "") : "generic";
408408
lang = lang[0].toUpperCase() + lang.substring(1);
409-
var command_id = this.createOutputBlock("Running " + lang + " Process", true);
409+
410+
var cfgName;
411+
var runningCfg = lstRunCfg.getModel().data && lstRunCfg.getModel().queryNode("node()[@running]");
412+
if (runningCfg)
413+
cfgName = runningCfg.getAttribute("name");
414+
var command_id = this.createOutputBlock("Running " + lang + " Process" + (cfgName ? ' ("' + cfgName + '")' : ""), true);
410415
this.tracerToPidMap[command_id] = message_pid;
411416
this.pidToTracerMap[message_pid] = command_id;
412417

4.62 KB
Loading
3.61 KB
Loading
1.25 KB
Loading
466 Bytes
Loading
213 Bytes
Loading
-1.97 KB
Loading
1.11 KB
Loading
1.68 KB
Loading

0 commit comments

Comments
 (0)