Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>CFX RunNew to Visual Studio Code? Get it now.
CFX Run

CFX Run

Pulse Habour

|
13 installs
| (0) | Free
Tools to allow remote debugging code in CFX games
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CFX Run

CFX Run allows GitHub Copilot Chat (GitHub.copilot-chat) for debugging and interacting with CFX (FiveM / RedM) game clients. It provides CoPilot tools to execute JavaScript code in a sandboxed environment, this is becomes useful for CoPilot to debug and interact with the game client for more integrated development experience.

Requirements

  • FiveM server running CfxRun resource. https://github.com/PulseHabour/CfxRun-Resource.

Contributing

Pull requests and issues are welcome!

Planned Features

  • Debugging NUI
  • User Input (e.g. KEYBOARD, JOYSTICK, MOUSE, PAD, TOUCHPAD)
  • Server-side code execution

Limitations

  • You have to reference the tool in the chat message you want chat to use the tool. #RunJSFiveMCode Get the player position
  • Does not support running server-side code.
  • Does not support running User Input (e.g. KEYBOARD, JOYSTICK, MOUSE, PAD, TOUCHPAD).

Remote CFX Run

To use CFX Run remotely, you need to expose client DevTools.

Same network

  1. Open the game client.
  2. In CMD, run:
    netsh advfirewall firewall add rule name="CEF DevTools Port" dir=in action=allow protocol=TCP localport=13172
    
  3. In CMD, run:
    netsh interface portproxy add v4tov4 listenport=13172 listenaddress=0.0.0.0 connectport=13172 connectaddress=127.0.0.1
    

If you have already ran the commands: 3. Before running the game, you need to

netsh interface portproxy delete v4tov4 listenport=13172 listenaddress=0.0.0.0
  1. Run the game client.
  2. Repeat step 2.

Author: Pulse Habour
Publisher: pulsehabour

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft