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...
Suggested Answer

VSC debugger is super slow as BC has been moved to the Docker Container

(0) ShareShare
ReportReport
Posted on by 443

Hi All,

system design: Windows Server 2019, Docker for server installed

Docker has multiple containers (8) where each container has been dedicated 8GB RAM.

BC version 19.3 OnPrem

VSC is installed on local laptops where code is being written.
Developers are using the VSC to debug any errors as they are testing the written code.

Antivirus ESET Nod installed on servers and clients.

VPN Cisco is installed on clients. Traffic goes via VPN. Internet speed is 100Mbit/s upload/download from my home. Internet speed in the office is 300Mbit/s upload/download.

Issue: VSC debugger is super slow at debugging line per line, it needs 6 seconds to move to the next line in code.

Docker is installed with multiple containers and each container has been dedicated with 8GB RAM. Development is being done from home office where VSC is running locally on the laptop and targeting the BC deployed in Docker Container.
I am using also VPN that connects to the server where Docker is installed and where SQL database is attached.

I have disabled VSC settings in the settings.json file, because I read VSC performances can be impacted. Below is my Settings.json file:
------

{
    "al.enableCodeAnalysis": false,
    "al.backgroundCodeAnalysis": false,
    "al.enableCodeActions": false,
    "editor.codeLens":false,
    "al.codeAnalyzers": [
        "${CodeCop}",
        "${AppSourceCop}",
        "${UICop}"
    ],
    "al.ruleSetPath": "./.ruleset/spin.ruleset.json",
    "al.assemblyProbingPaths": [
        "./.netpackages",
        "C:/Windows/assembly"
    ],
    "bdev-al-xml-doc.checkProcedureDocumentation": false,
    "csideinterop": {
        "pasteFromCSIDE": {
            "type": "pasteFromCSIDE"
        }
    },
    "clipboard-manager.snippet.enabled": false
}
-----
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,597 Super User 2025 Season 2 on at

    Hi, Sorry I haven't tried installing Docker on the server and then developing locally.
    It is recommended that developers install Docker locally.

    Hope the following helps.

    https://stackify.com/docker-performance-improvement-tips-and-tricks/

    Also Freddy is an expert on BC Docker, you can try to consult it.

    https://freddysblog.com/

    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,010

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans