Linux Powered By Azure – NetBeans Editing


When it comes to editors there are a few that stand out. Visual Studio is a first class editor. Packages can be added and it can be customized to fit your needs. C#, VB, C++. You can do Unity Development in it, Xamarin Development, Arduino Development. There are a ton of cool features and uses. However, it does not run on a Mac or Linux. When it comes to those platforms there are also some good options. PhpStorm, Eclipse, Android Studio, xCode and more. The editor I like to use, especially when I am building PHP sites is NetBeans. I have been a fan of NetBeans for some time now. Lightweight. Easy to use. Robust. And more importantly, it has debugging and remote publishing built in.

I am going to walk through how to set up your local machine to connect to a remote server to fetch files, debug and deploy.


Let’s Go!

After you have downloaded and installed NetBeans open it up. Get familar with the editor for a bit.

In order to “get” the files to edit and debug we need to set up a project first.

First click on the “NEW PROJECT” icon or File -> New Project


You will be presented with a few choices of templates but for our example we want to choose

  • PHP -> PHP Application from Remote Server


The second step is configuring where the files will be stored locally.

  • Project Name – name of your project
  • Source Folder – this is where your files will be saved when they are brought down locally
  • PHP Version
  • Default Encoding
  • Metadata – you can keep this unchecked and it will store all of the versioning in the same folder, or you can select a different folder.


The third step is your connection to the server.

  • Project URL
  • Remote Connection – more on this in a moment
  • Upload Directory – location of the root of your project

If you click ‘Manage” you can manage your remote connections.


Fill out the appropriate info and if you have a private key you can associate it here.

Once done you can click next to go to step 4, which is downloading the project.


The download will run and when finished you will have all your project files local.


Now we are able to connect to our remote server and edit and change files. Next we will configuring remote debugging.

Leave a Comment


  • Greg

    Can’t wait for you next post in the series. I’ve been struggling with setting up remote debugging in this situation.

    • Joshua Drew

      Did you see the updated posts? I have the remote debugging articles up.

  • Luis

    First, thanks for this tutorial.
    My development environment is Netbeans on Mac, I have a HTML5 Application. Do you know how can I do the same for my HTML5 app?


    • Joshua Drew

      What exactly are you trying to do? You can remote publish with Netbeans but not debug with HTML5 remotely

  • Nunya

    >Fill out the appropriate info

    So helpful.

  • google translate api free

    The reason for this is that the Finnish language has fifteen circumstances as properly as
    an elaborate system of possessive suffixes, infinitives, particles and
    enclitic particles.

  • Medecin Generaliste Homeopathe Acupuncteur Paris

    Acupuncture is a extremely invasive type of therapy, and
    is typically only regarded when additional
    classic techniques have failed to show acceptable final results.

  • Your email address will not be published. Required fields are marked *