Open Closed

Abp Studio Debugging Remotely For Already Deployed App on AKS #8258


User avatar
0
cangunaydin created
  • ABP Framework version: v8.1.4
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL with pgbouncer)
  • Auth Server Separated (for Angular): yes

Hello. I didn't switch to abp studio. I still use abp cli for my app. But my application is deployed on Kubernetes Cluster on azure. I have some manifest files to deploy the application. What i wonder is, If i use abp studio, can i debug my app remotely from my local machine. Even if i do not use the helm charts that abp studio is produced? So i want to deploy my app as usual but use abp studio to debug it. Is it possible to do sth like that?


5 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Abp studio doesn't support debug feature.

  • User Avatar
    0
    cangunaydin created

    what i mean is intercepting the service. i just want to connect to the cluster and intercept the service so i can attach my debugger to the remote aks cluster. Do you need to deploy your app through Abp Studio for it? or can you do that with manual deployment? https://abp.io/docs/latest/studio/kubernetes#intercept-a-service

    Utilizing ABP Studio's interception feature, you have the flexibility to run the entire solution in a Kubernetes cluster while running only a single (or a few) services on your local machine using your IDE. This approach allows you to concentrate on running, testing, and debugging your service without concerning yourself with the configuration and launch details of the rest of the system.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I think it can't be done, It can intercept the local cluster

    Do you need to deploy your app through Abp Studio for it? or can you do that with manual deployment?

    yes, you need to manual deployment for now, the studio will support deployment in the future

  • User Avatar
    0
    cangunaydin created

    Hello @liangshiwei is there any tutorial, sample or video to do this interception? and what are the prerequisites for it? probably you need to create your docker image in debug mode (or maybe not) and according to docs i guess it is forwarding all the traffic to your local environment. Is this just port forwarding or sth else in play over here? I have an app that is created with abp cli, and i don't know where to start to do the interception, it would be great to have a tutorial for existing applications.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I think it can't be done, It can intercept the local cluster

    Sorry, I give the wrong answer, It can intercept local and remote clusters

    yes, you can see the video here:

    • https://www.youtube.com/watch?v=uYTbGLtxdUE&t=2373s
    • https://www.youtube.com/watch?app=desktop&v=XiPRcIHJ3NE
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11