I'm trying to remote debug my nodejs application (which is actually running on a docker container in my local machine but for all purposes is treated as a remote host)
I've ran the app with nodemon using the following command in my docker-compose file
nodemon --debug=3010 app.js
In order to launch the configuration I had to go to
run -> debug and then choose
In the configuration window I've added a new configuration of the "Node.js Remote Debug" type, and then pressed the debug button at the bottom of the screen.
Hope this helps future wanderers.