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

Notifications

Announcements

No record found.

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 891
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,225 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
    891 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
    95,548 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans