Just release a new blog to act as a weekly digest for what’s happening in the iOS world (articles, controls, UI). Hope you like it.
In this post I’ll help understand how can debugging a Node.js application from scrach.
You need installed in you computer the following tolls:
First, we’ll install express.
npm install -g express
-g flag means that you are installing express globally on your system.
So, now we are available for create a node.js application using express.
express -c stylus express-app-sample
-c states that we want to use stylus for css.
The next step, is install the app dependencies. So, we need enter express-app-sample folder and install. We can do that with the following commands:
cd express-app-sample npm install
And now we’re available for running our app. What we need to do is the following command.
You should see
Express server listening on port 3000 and if you open http://localhost:3000 you’ll see the default Express page.
With Eclipse debugger plugin for V8 we can easy used for debugging node applications. This is the steps to install the plugin on Eclipse:
Eclipse will restart with the V8 Eclipse Debugging Plugin installed.
node --debug=5858 app.js
NOTE: You can find out more about debugging node.js applications using Eclipse in this link.
For some time now I wondered how I could do automatic uploads to Test Flight. As you might have guessed, they allow to make builds uploads by using their API, which is quite straightforward. So, I read somewhere that some people already had created scripts to do this automatically for you. A big bonus here, is that Xcode, allows you to run scripts after an archive has been made:
This can easily be found when editing your schemas. After that just add this. And the blog post talking about it. I have tried the first suggestion, but the 2nd one was the most complete. Besides allowing you to select some stuff (distribution lists, Provisioning profile, etc) it also shows you what’s going on the console. So have fun!
The facebook integration has been a bit of pain for me, so in order to help others, I am going to provide the best links for integration. In case you want to use Facebook’s own SDK, you can always go here. On the other hand, if you prefer to use the native features: