Azure/Bridge-To-Kubernetes

Can I debug muti-services with ruoting isolation?

wu-yafeng opened this issue · 1 comments

I have 2 services:

  • .NET WebAPI service with Visual Studio 2022
  • NodeJS Backend service with Visutal Studio Code

Can I debug 2 services with ruoting isolation at same time? I was trying to specific sub-domain but no place to specific.

Current:

user-abc.domain.com ---> .NET WebApi
user-efg.domain.com ---> NodeJS Service

Expect:

specific sub-domain user-abc.domain.com route to local service

user-abc.domain.com ---> local .NET WebApi port 8080
user-abc.domain.com ---> local NodeJS port 8081

I found the config isolateAs in .vscode/tasks.json for visual studio code and <RoutingHeader></RoutingHeader> in WebApi.csproj.user for visual studio