

This tutorial guides you on how to install Visual Studio Code editor on CentOS 7 / RHEL 7 from Microsoft’s VS Code repository. Visual Studio Marketplace offers lots of plugins and extensions to extend the functionality of VS code. It has built-in debugging support, embedded Git control, syntax highlighting, code completion, code refactoring, and snippets.

This will forward port 5858 from the running Pod to a local port 8888 (8888 is an example you can use any free port). Oc port-forward $(oc get po | grep your-app-name | grep Running | awk '') 8888:5858 Returns the similar to the following deploymentconfig "your-app-name" updated This disables the liveness and readiness checks so your pod doesn’t restart during remote debugging. Oc set probe dc your-app-name -liveness -readiness -remove=true From the command line login to Openshift and change to your project.Note: Node v8 LTS uses inspect so the command would be node inspect app.js This exposes your app in debug mode on port 5858 by default. Node v6 LTS has an inbuilt debugger and can be run in the Terminal enter node debug app.js where app.js will be the starting point for running your app (typically app.js or server.js).
