Last active
June 1, 2023 08:50
-
-
Save barisbll/b37b0b5b1d509a850a19e510ae3db2d4 to your computer and use it in GitHub Desktop.
Revisions
-
barisbll revised this gist
Jun 1, 2023 . 1 changed file with 4 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,8 @@ { // First build your application exp: npm run build // Then run the index.js on debug mode exp: node --inspect ./dist/index.js // For a running server on kubernetes after the ssh connection you can send a signal to process to open the debug mode // exp: https://medium.com/hackernoon/debugging-node-without-restarting-processes-bd5d5c98f200 "version": "0.2.0", "configurations": [ -
barisbll revised this gist
Jun 1, 2023 . 1 changed file with 23 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,25 @@ // First build your application exp: npm run build // Then run the index.js on debug mode exp: node --inspect ./dist/index.js // For a running server on kubernetes after the ssh connection you can send a signal to process to open the debug mode // exp: https://medium.com/hackernoon/debugging-node-without-restarting-processes-bd5d5c98f200 { "version": "0.2.0", "configurations": [ { "type": "node", "name": "Attach to Process", "request": "attach", "port": 9229, "localRoot": "${workspaceFolder}/dist", "remoteRoot": "/app/dist/", "outFiles": [ "${workspaceFolder}/dist/**/*.js" ], "skipFiles": [ "<node_internals>/**/*.js" ] } ] } -
barisbll created this gist
Feb 21, 2023 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ { "name": "Attach to Process", "type": "node", "request": "attach", "port": 9229, "localRoot": "${workspaceFolder}/dist", "remoteRoot": "/app/dist/", "outFiles": [ "${workspaceFolder}/dist/**/*.js" ], "skipFiles": [ "<node_internals>/**/*.js" ] }