Debug Print from command prompt

Monkey Forums/Monkey Beginners/Debug Print from command prompt

consty(Posted 2014) [#1]
Hello, I develop my code with Sublime. When I try to run the project from command prompt I can't see any output from the Print command. Any ways of enabling this?

However with TED or Sublime build command I see print output.


Capn Lee(Posted 2014) [#2]
not sure what to tell you, i just built this as a 'C++_Tool' app and it output a print command when ran using a build tool and when running the exe manually

Function Main()
	Print "This works"
End


I did this using build 78h, what version are you working from?


consty(Posted 2014) [#3]
Hi, I use Monkey V77a (free version) and TransV1.62. It seems that C++ Tool parameter is unsupported.
TRANS monkey compiler V1.62
TRANS FAILED: Invalid target

I tried today to redirect the output of the application in a text file like this, and it actually worked. Unfortunately not interactive enough but is a good sign. Very strange though why command prompt is not behaving nice in comparison with TED or Sublime builds.
build > out.txt