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

launch.json not opening the right database

(1) ShareShare
ReportReport
Posted on by 423

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?

  • Verified answer
    Mohamad Vajid Profile Picture
    Microsoft Employee on at

    Hello,

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

  • Juliem Profile Picture
    423 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 452 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 371 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans