Abderrazak L
Abderrazak L

Reputation: 37

How can I disable the bluemix-debug tools for a nodejs application instance in Bluemix?

I am in the process of completing the Cloud Application Developer Certification developerWorks Course.

In Module 3 (Implementing cloud-ready applications) and section 3.3 (Debugging in Bluemix), I set the application instance in development mode by adding this environment variable to the manifest.yml file:

ENABLE_BLUEMIX_DEV_MODE: "true"

What options are available to revert this change for this application instance?

Upvotes: 0

Views: 91

Answers (1)

Hobert Bush III
Hobert Bush III

Reputation: 282

I reviewed the course and I agree it is an interesting course. To remove the development mode from the application you should perform the following steps.

  1. Open the manifest.yml file and remove the following completely from the file:

env: ENABLE_BLUEMIX_DEV_MODE: “true”

  1. Clear any cached state of the application that might prevent the application management tools from being removed by removing the application by using the cf CLI:

$ cf login –a <api endpoint for your Bluemix region>

$ cf delete <application_name>

  1. Repush the application:

$ cf push

Upvotes: 2

Related Questions