Captien Posted December 22, 2017 Share Posted December 22, 2017 (edited) Chrome debugger is one of the great features used in server-side to do fast Javascript evaluations, and debug your running code. Installation: 1) Install Nodejs v8 inspector in to chrome. 2) Add "node-commandline-flags": "--inspect" to your conf.json 3) Start your ragemp-server.exe and it should open you a new tab in your browser. You should get something like that in your server console node commandline flags: --inspect Debugger listening on ws://127.0.0.1:9229/9e5f37a9-4374-4eeb-a7a9-824550b5cdc5 Debugger attached. and here's the debugger window.... Now you are good to go. Edited February 22, 2020 by Captien Updated to 1.1 version 4 Link to comment Share on other sites More sharing options...
Ritzy Posted December 22, 2017 Share Posted December 22, 2017 I mean no offense, and I'm honestly curious about the advantages of doing such? Link to comment Share on other sites More sharing options...
Captien Posted December 23, 2017 Author Share Posted December 23, 2017 (edited) The advantage of this console is that you can do evaluations without the need of entering in game to test it. Edited December 24, 2017 by Captien Link to comment Share on other sites More sharing options...
Kilhog Posted December 24, 2017 Share Posted December 24, 2017 Hi, Is there a way to do this for the client side as well? Link to comment Share on other sites More sharing options...
tim260 Posted December 25, 2017 Share Posted December 25, 2017 Hi, this doesnt work for me. It displays in the server dialog: bad option: --inspector any idea why? Link to comment Share on other sites More sharing options...
Captien Posted December 25, 2017 Author Share Posted December 25, 2017 (edited) Type --inspect no --inspector. (Sorry it was a mistype in the tutorial). Client-side console isn't possible, You need to suggest it as a feature for rage. Edited December 25, 2017 by Captien 1 Link to comment Share on other sites More sharing options...
valdirdd Posted December 28, 2017 Share Posted December 28, 2017 Nice, now working. Thanks Link to comment Share on other sites More sharing options...
Geramy92 Posted December 31, 2018 Share Posted December 31, 2018 😞 not working for me... I created the shortcut and added --inspect but it doesn't start the debugger Link to comment Share on other sites More sharing options...
Partizan Posted August 14, 2019 Share Posted August 14, 2019 Has anyone found a solution for debugging? Link to comment Share on other sites More sharing options...
Captien Posted February 22, 2020 Author Share Posted February 22, 2020 Updated it to the new 1.1 version.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now