Remote debugging on Kubenetes

0
Hi We need to do remote debugging on Mendix app which is deployed in on AWS Kubernetes environment. When we try to debug, a password is asking and  it seems it is generated at the application is up and running. Could you please explain the how we can get this password and what needs to be done from app level to have this password generated. Thank you
asked
3 answers
3

Wade's answer is correct when using a Windows server directly. For containerized deployments, you need to add an environment variable to your app to enable debugging. See the documentation here (also copied below). Note this also applies for Docker:

 

Enabling the Mendix Debugger

You can enable the Mendix Debugger by setting a DEBUGGER_PASSWORD environment variable. This will enable and open up the debugger for the lifetime of this process and is to be used with caution. The debugger is reachable on https://DOMAIN/debugger/. You can follow the second half of this How To to connect with the Mendix Business Modeler. To stop the debugger, unset the environment variable and restart the application.

 

answered
2

Thank you Eric and Ramsey. I will go through your suggestions and let you know if anything is needed

answered
1

For applications running on local servers. You can get the debugger password by opening up the Mendix Service Console. Click on the environment in the left panel. Then Click advanced and then enable debugging. It should then give you the password you need for the debugger.

answered