topic hubAdministration & Setupofficial - Microsoftreviewed - checked by Opus

Configure the development environment

Configuring the AL development environment for Business Central: VS Code AL Language extension settings, performance tuning, container and GitHub Codespaces setups, runtime targeting, and resource exposure policy. It answers questions about setting up and tuning a dev environment and about the JSON configuration files used in AL projects.

Path: Development > Development environment > Configure the development environment · tier official · system administration · narrative reviewed (checked by Opus)

Overview

This section covers how to set up and tune the places where you write AL code for Business Central. It includes the AL Language extension settings in Visual Studio Code (compilation, code analysis, debugging, editor behavior), a page on speeding up VS Code with large projects, and two ways to host the environment: a Docker container using the BCContainerHelper PowerShell module, or cloud-hosted GitHub Codespaces defined by a devcontainer.json file.

Project-level behavior is set in app.json. One page explains the runtime property, which defines the platform version an extension targets and so which features are available. Another explains the resourceExposurePolicy setting, which controls IP protection by managing debugging, source download and source in symbol files. The JSON files subtopic covers app.json, launch.json, Directory.app.props.json and migration.json in more detail.

Start with the AL Language extension configuration page to learn the available settings. Then pick a hosting approach (container or Codespaces), and use the performance and JSON file pages as you refine the project.

Key points

  • The AL Language extension settings control compilation, background code analysis, incremental build, code analyzers, symbol search, profiler and snapshot debugging.
  • For large projects, disable code analysis, enable incremental builds and adjust editor settings such as background compilation, code actions and format on save.
  • The runtime property in app.json sets the target platform version, which decides available features and publishing compatibility.
  • resourceExposurePolicy in app.json has allowDebugging, allowDownloadingSource, includeSourceInSymbolFile and applyToDevExtension; the NonDebuggable attribute is also covered (2021 release wave 2).
  • A container-based environment uses Docker, Windows containers and BCContainerHelper to create sandbox containers and install apps (2026 release wave 1, version 28.0).
  • GitHub Codespaces uses devcontainer.json to define tools, VS Code extensions, CodeCop and UICop analyzers, environment variables and port forwarding for consistent team onboarding.
  • The JSON files subtopic (4 pages) covers app.json, launch.json, Directory.app.props.json and migration.json: project config, debug and publish settings, shared properties and data migration between extensions.

Subtopics

More Learn pages

Videos and posts

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 8 of 10 Learn pages

Show 2 more