This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// THIS IS NO LONGER NECESSARY, VSCODE CAN DO REMOTE DEBUGGING NOW.. | |
// | |
// Published @ http://code.xpotent.com/2015/12/debugging-nodejs-within-docker.html | |
// | |
// VSCode requests a PID at the onset of a debugging session and monitors the process | |
// to detect when it is no longer running. For some reason, VSCode does not rely on socket | |
// state to determine this. VSCode monitors the pid and will exit if it isn't active. | |
// | |
// This proxy detects the pid within one of the initial debug messages from a node instance |