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

launch.json not opening the right database

(1) ShareShare
ReportReport
Posted on by 379

We have a few BC17 databases on Prem runnin on the same server.

I have developped an extension for one of them, using VSC

My launch.json file is set up properly and the extension is being pulibshed to the right instance when I run the command Publish without debugging

However, the web browser opens to another database on that same server (which doesn't have that extension publish)

I looked at the Business Central Administration configuration and both seem to be setup properly, different port, different instance name, etc...

What am I missing?

I have the same question (0)
  • Verified answer
    Mohamad Vajid Profile Picture
    on at

    Hello,

    Can you paste your launch.json here and do you have the "PublicWebBaseUrl" key populated on the instance?

  • Juliem Profile Picture
    379 on at

    Thank you, the PublicWebBaseUrl was the issue

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 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans