web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

The current AL extension package can only debug Dynamics 365 BC servers with a version >= to v20.

(1) ShareShare
ReportReport
Posted on by 907
I'm attempting to use 'AL: Publish with debugging' and it's failing with the error below:
 
The current AL extension package can only debug Dynamics 365 Business Central servers with a version greater than, or equal to version 20.
Please use a previous AL extension package to debug a server with version: '3.0'.
 
I'm using VS Code with a BC version 14 Docker container, downloaded using a powershell script created by new-BcContainerWizard (version details below):
 
Version: Platform 14.0.29530.0 + Application 29537 (GB Dynamics NAV 14.0)
Azure AD tenant: common, Environment: Production
 
'AL: Publish without debugging' works fine. Any idea where I'm going wrong?
I have the same question (1)
  • Suggested answer
    Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at
    Hi
    With version 13 of AL, we have this change.

    Business Central server versions released before the April 2022 release (version 20) cannot be debugged with AL extension package versions that are greater than or equal to version 13.

     
    You can change the runtime in the json.
     
    Or you can always temporarily install an older AL version like 12.7
     
    BR
    GR
  • Nick Webb Profile Picture
    907 on at
    Is it possible to have 2 separate installations of VS Code on one system, one with a fixed, old version of the AL language extension and one with the latest? Has anyone provided a guide for setting up such a development environment?
  • Verified answer
    YUN ZHU Profile Picture
    99,090 Super User 2026 Season 1 on at
    Generally this is not possible. AL Language needs to be reinstalled each time.
    But you can try methods other than VS Code, such as Cursor. You can install AL Language different from VS Code in it.
     
    Hope this helps.
    Thanks.
    ZHU
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans