Jump to content

New osbot user debugging help?


Recommended Posts

Posted

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

Posted
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...