What are the practical differences between developing an app locally vs in a remote environment such as a VM or a Container?
LOCAL
REMOTE
What is the default debugging port?
9229.
0.0.0.0:9929
How do we configure nodemon to run on debug mode and listen to the default debugging port.
By adding an --inspect option to it’s package.json target and passing it 0.0.0.0:9929.
"scripts": {
//...
"dev": "nodemon --inspect=0.0.0.0:9229 src/index.js",
//...
}