Connect debugger to remote server of your node application
Connect debugger to remote server of your node application

Most of us do console.log to debug the code a remote server, which is very time consuming and takes multiple rounds to identify the bug.

I always prefer to debug code using debugger even in react-native because it saves time.

Just thought to share the process of connecting the debugger in a remote machine, so your all time can also be saved and of course attains bug solving happiness quicker πŸ˜›.

So what we need:
Pem file of the server or username and password through which we can enter the server.

Setup ssh port forwarding:

ssh username@remote-address -I "path/to/pem_file/ec2-server.pem" …


Automate the boring task 😁 of deployment

gitlab ci + appengine

All we have to do is:

  1. Create a service account (I assume you know about it)
  2. Setup Gitlab CI
  3. Magic happens!

Creating a service account

Visit iam-admin page and create the service account with required permissions and create the key.

Yogesh Lakhotia

Lead Engineer at QuickSell.co , Creator of Programming Hub

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store