0
votes

I recently started using Velocity with Meteor and really like having the HTML reporter as I go. It would be great if the rest of my team could see the testing status on our dev and testing servers, which are deployed on AWS EC2 via Meteor Up.

Unfortunately, Velocity relies on Meteor running in debug mode (what you get with meteor or meteor run locally), and turns off for production deployments (running the Node app that you get from meteor build). Meteor Up (as well as most PaaS deployment solutions) use meteor build in the deployment pipeline, so Velocity doesn't run when I deploy via mup. I've tried setting environment variables like NODE_ENV="development" and NODE_OPTIONS="--debug" but that doesn't seem to work.

Is there a way to get Meteor Up to deploy my app in debug mode?

2
It's possible to run meteor build foo --debug, but if there's a way to do this without forking Meteor Up then I'd rather do that. - Nick Benes

2 Answers

1
votes

Arunoda here from Mup

We are working on the next version of Mup and it has a way to enable the debug flag when deploying.

See: https://goo.gl/rJn99A

This version of mup uses Docker and it's much more stable than the current version. (We used it to deploy all our app)

1
votes

this is not currently supported in Velocity. The way you mentioned is the only way with the --debug flag. Perhaps you can create a PR for MUP to allow this option