XRebel for VS Code


Installing the JRebel & XRebel extension for VS Code

Install from VS Code Extensions

  1. In VS Code, click View > Extensions.

  2. Search for the “JRebel & XRebel” extension.

  3. Click Install.

Install from the VSIX file

  1. In VS Code, click Extensions > vscodeicon Views and More Actions > Install from VSIX.

  2. Search for “Extensions: Install from VSIX”.

  3. Find the VSIX file for the JRebel & XRebel extension and click Install. If prompted, restart VS Code to complete the installation.

The JRebel extension icon will appear in the sidebar.

Activating the JRebel & XRebel extension for VS Code

Activate a free trial for XRebel

In VS Code, use the activation pop-up dialog for the JRebel & XRebel extension.

Activate a commercial license for XRebel

  1. Run your application with XRebel enabled.

  2. Open your web application. The XRebel activation dialog will appear.

  3. Enter your commercial license details and submit the form.

Running the JRebel & XRebel extension for VS Code

If your project has a class that contains a static main method (main class), run XRebel using one of the following methods.

Run XRebel using the code lens

  1. In VS Code, open your project.

  2. In the editor view, above a main method in your project, click XRebel-Run.

../_images/vscode-xrebel-run.png

Run XRebel using the Run menu

  1. In VS Code, open your project.

  2. Click Run > XRebel Run.

../_images/vscode-xrebel-run-menu.png