how fix the Problem in VSC "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 8.1

Frank Pienkny 0 Reputation points
2024-04-27T06:37:08.92+00:00

BC Version 19.6, Application 19.0.0.0, Runtime 8.0, target OnPrem
Debugging is enabled on Server

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
999 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 30,566 Reputation points Microsoft Vendor
    2024-04-29T07:26:07.1133333+00:00

    Hello @Frank Pienkny ,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    Please try following methods:

    1. Try to install and use a previous version of AL Language extension. User's image
    2. Try to change the runtime(in the app.json file).
    3. Reinstall VS Code and AL Language extension.

    If above methods don’t work, please kindly try to post this question on Dynamics 365 Community/GitHub-vscode for further help.

    Thanks for your understanding.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.