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
- JSON files (4 pages)
More Learn pages
- AL Language extension configuration: Description of the AL Language extension settings in Visual Studio Code for Business Central.
- Develop for multiple platform versions: The AL language extension is compatible with multiple platform versions for developing solutions in marketplace.
- Optimize Visual Studio code editing and building performance: Explains how you configure Visual Studio Code to get better performance when editing and building AL projects.
- Resource exposure policy setting: Explains how to set the resource exposure policy for allowing download or debugging into extension to see the source code.
- Running a container-based development environment: Overview of how to run a container-based development.
- Use GitHub Codespaces for AL development: GitHub Codespaces gives you a ready-to-use, cloud-hosted development environment for AL that runs in your browser.
Videos and posts
Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.
- Business Central is transitioning to .NET 10 (community post): “AL Language extension requires .NET 10 and now uses .NET Install Tool for VS Code”
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.
What Learn documents here 8 of 10 Learn pages
- learnAL Language extension configuration2026-08-25
- learnDevelop for multiple platform versions2024-03-15
- learnDirectory.app.props.json file2025-09-26
- learnJSON Files for AL Extension Projects2026-08-25
- learnLaunch JSON Settings for Business Central AL2026-10-16
- learnMigration JSON file2025-05-02
- learnOptimize Visual Studio code editing and building performance2022-06-22
- learnResource exposure policy setting2024-01-03