Captien Posted December 22, 2017 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
Ritzy Posted December 22, 2017 Posted December 22, 2017 I mean no offense, and I'm honestly curious about the advantages of doing such?
Captien Posted December 23, 2017 Author 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
Kilhog Posted December 24, 2017 Posted December 24, 2017 Hi, Is there a way to do this for the client side as well?
tim260 Posted December 25, 2017 Posted December 25, 2017 Hi, this doesnt work for me. It displays in the server dialog: bad option: --inspector any idea why?
Captien Posted December 25, 2017 Author 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
Geramy92 Posted December 31, 2018 Posted December 31, 2018 😞 not working for me... I created the shortcut and added --inspect but it doesn't start the debugger
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