Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NOTE: Local Development Server feature is available in the Pulsar for Salesforce 3.8 pre-releases for Android and Windows. Some of the features listed here may change before official release.

Debugging your HTML/Javascript code in Pulsar doesn't require you to upload a bundle to Salesforce servers.  With some configuration, you can instead have Pulsar load directly from a local development server on your own development machine.

...

  • In the Pulsar app, go to the specific HTML document (or /.pulsarapp document ) you want to debug and open it

    • First, Pulsar will load the document/bundle that is synced from your org (the org version)

    • Next, Pulsar will load from your development server (http://127.0.0.1:3002); on Android this is forwarded over ADB.

    • NOTE that this means you can move backward and forward using the window history buttons to switch between the org and development versions (if desired)

  • Because Pulsar is loading your HTML/JS code from your development server on your development machine, you should now be able to use all your normal HTML/JS debugging tools on the code running locally on your development machine

  • If you make a change to your HTML/JS code, simply restart your development server and hit the page refresh button in Pulsar