Added a method to retrieve buffers from controler and logs to debug
This commit is contained in:
@@ -14,7 +14,13 @@ server.createServer(3219, "127.0.0.1", function (password) {
|
||||
|
||||
process.stdin.on("data", function(data) {
|
||||
if (data.toString() !== "exit"){
|
||||
eval(data.toString());
|
||||
try {
|
||||
console.log("CMD : "+data.toString());
|
||||
console.log("RETURNED : "+eval(data.toString()));
|
||||
}
|
||||
catch (ex) {
|
||||
console.log("Erreur : "+ex.message)
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user