themuffinman32 Posted July 19, 2018 Share Posted July 19, 2018 Hi guys, new user here! I'm interested in writing scripts and I've so far successfully setup an environment where I can run some skeleton scripts! Because the OSBot client spawns a new process post login, I'm relatively confident I'm not able to debug using breakpoints with intellij (correct me if i'm wrong please :)). Does anyone know if I can launch OSBot so that I can see logs that I write to stdout? Thanks Quote Link to comment Share on other sites More sharing options...
themuffinman32 Posted July 19, 2018 Author Share Posted July 19, 2018 Nevermind, I figured out how to use the debugger! You can actually run the client with a remote debug entry port ie: java -jar "osbot 2.4.145.jar" -debug 5005 You can then setup a remote debug process in intellij to connect to that port!@ 1 Quote Link to comment Share on other sites More sharing options...
Apaec Posted July 19, 2018 Share Posted July 19, 2018 2 hours ago, themuffinman32 said: Nevermind, I figured out how to use the debugger! You can actually run the client with a remote debug entry port ie: java -jar "osbot 2.4.145.jar" -debug 5005 You can then setup a remote debug process in intellij to connect to that port!@ Alternatively, you can use the MethodProvider log method to write a message to the in-client logger accessible through the client options menu. -Apa Quote Link to comment Share on other sites More sharing options...
themuffinman32 Posted July 20, 2018 Author Share Posted July 20, 2018 I don't see the option to use the in-client logger, sorry. This is what I see https://i.imgur.com/X5uLHJc.png Quote Link to comment Share on other sites More sharing options...
JioMy Posted July 20, 2018 Share Posted July 20, 2018 25 minutes ago, themuffinman32 said: I don't see the option to use the in-client logger, sorry. This is what I see https://i.imgur.com/X5uLHJc.png go to settings->toggle logger. Quote Link to comment Share on other sites More sharing options...
themuffinman32 Posted July 20, 2018 Author Share Posted July 20, 2018 Got it, thanks! Quote Link to comment Share on other sites More sharing options...