Execution

You can run your service on your local machine including user a debugger.

Run and debug locally

Go to the "Run and Debug" area in the VS Code side bar. Select your project and click "Start Debugging" button.

Note: Make sure to start the _Azurite Blob Service_ and the _Azurite Queue Service_ before running locally.

Azure

BaaS is a multi-cloud solution that also supports local execution. When running locally, most of the functionality uses an Azure runtime that is running within VS Code. The Azurite extension provides this functionality.

Even though BaaS abstracts the cloud runtime, you see traces of Azure when running locally, for example, in some configuration files as well as in logging messages.

Builds

  • Java

    Requires assemble/bin.xml to package the built jar into a zip.

    Note: See the Troubleshooting guide if there are compilation errors that do not go away.
  • Typescript

    package.json contains a few scripts.

    • "baas:build" installs dependencies.
    • "baas:deploy" is used for quickdeploy and server-side build.
    • "build" compiles your code.
    • "start" starts your application. This works the same way as "Run and Debug" above.