Jump to content

Is there a way to debug rage server line by line with Webstorm?


Recommended Posts

Posted (edited)

I spent a lot of time to find out how I can debug server side of ragemp in Webstorm. After writing simple server part in node.js I stuck at some place and looking for solution where I can debug line by line. In standart node.js http server app I would just point index js file in "Run/Debug Configurations", like on the screenshot given below, and it would give me an opportunity to debug in Webstorm line by line, by breakpoints. But rage is started through server.exe, and that's a problem, because Webstorm isn't any way connected to server.exe file and related node.js code. I will also contribute if find some way.

 

HzJPkGM.png

Edited by David_Sibirkin
  • 2 weeks later...
Posted

You cant really debug beside the error log the server console shows you.

 

the Server executable exposes objects to the node environment which you cant really access with only node.

  • Like 1

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...