Payara VSCode Plugin

Payara Platform provides the Payara extension to integrate Payara Server into the Visual Studio Code. The extension is available in the Visual Studio Marketplace.

Installing Payara extension

  1. Click Extensions on the left-most menu of the editor:

Visual Studio Marketplace
  1. On the Marketplace side-panel, search for the Payara extension.

  2. Click the Install button.

Adding Payara Server to VSCode

  1. Click Payara icon in the activity bar on the left-most of the editor.

  2. Then press the + button in the Payara Server explorer:

Add Payara Server
  1. Browse the Payara Server installation path (recently used servers location are listed by default):

Browse Server Runtime
  1. Choose a name for the server.

Fill server name
  1. Then select a domain from the list or create a new domain by pressing the + button:

Select server domain
  1. That’s how to add Payara Server to VSCode.

Managing Payara Server from VSCode

Once Payara Server is added to VSCode it can be found under the Payara Servers explorer panel with the configured name. Right clicking on the server lets you do the following things:

  • Start, restart or stop the server

  • Start debugging the server

  • Rename or remove the server

  • Open admin console

  • Open server log

  • Open server domain.xml config

  • Update Admin credentials

  • Update JDK Path

Start Payara Server

Deploying Applications to Payara Server

An application can be deployed and undeployed easily from VSCode.

Right click on the application and select Run on Payara Server to deploy the application:

Deploy application

The deploy application can be opened in the browser, undeployed or disabled by right clicking on the application:

Open application homepage

results matching ""

    No results matching ""