Harald Uebele
Harald Uebele

Reputation: 264

Debug tools for node.js app in Bluemix don't seem to work

I have deployed a node.js app in Bluemix using cf push. I have removed the start: entry from manifest.yml. In Bluemix I have set the environment variable BLUEMIX_APP_MGMT_ENABLEto devconsole+shell+inspector. This restages the app.

But when I open the App Manager by adding /bluemix-debug/manage/ I get a 404 error.

When I start Live Edit on the same project from DevOps Services I can open the App Manager. But I don't see what is different, it also seems to set the environment variable only.

What am I missing?

Upvotes: 3

Views: 423

Answers (1)

Sai Vennam
Sai Vennam

Reputation: 567

The Live Edit tool will automatically add 256MB to your application to facilitate execution of the additional features, which is likely why it is working with Live Edit.

Manually enabling the feature, however, will not automatically bump up the memory. Can you try adding some more memory to your application and restaging?

There are a couple of other limitations; refer to the Restrictions section on the App Management docs.

EDIT: Found issue in comments below. If command: node app.js is in manifest.yml, or if you are using -c with the CF CLI, it overrides the buildpack's ability to start the development utilities in App Mgmt. This happens even if you have the start command correctly specified in package.json or Procfile. To fix this, remove the manifest.yml entry, delete the application, and restage the application.

Upvotes: 1

Related Questions