From 00f29e64410389f80fad8b7d5126929d32f2688c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Mon, 4 Jan 2021 00:00:00 +0000 Subject: [PATCH] nodejs step debugging --- README.adoc | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 57f68b1c..4f695283 100644 --- a/README.adoc +++ b/README.adoc @@ -9702,7 +9702,11 @@ drmModeGetResources failed: Invalid argument failed to initialize legacy DRM .... -See also: https://github.com/robclark/kmscube/issues/12 and https://stackoverflow.com/questions/26920835/can-egl-application-run-in-console-mode/26921287#26921287 +See also: + +* https://github.com/robclark/kmscube/issues/12 and: +* https://stackoverflow.com/questions/26920835/can-egl-application-run-in-console-mode/26921287#26921287 +* https://stackoverflow.com/questions/3804065/how-to-use-opengl-without-a-window-manager-in-linux/50669152#50669152 Tested on: https://github.com/cirosantilli/linux-kernel-module-cheat/commit/2903771275372ccfecc2b025edbb0d04c4016930[2903771275372ccfecc2b025edbb0d04c4016930] @@ -21097,6 +21101,19 @@ Examples: ** link:rootfs_overlay/lkmc/nodejs/object_to_json.js[]: `toJSON` examples * link:rootfs_overlay/lkmc/nodejs/http.js[]: `http` module to create a simple HTTP server: https://nodejs.org/api/http.html +===== Node.js step debugging + +Overviews: + +* https://stackoverflow.com/questions/12641679/nodejs-a-step-by-step-debugger-for-nodejs/60018317#60018317 +* https://stackoverflow.com/questions/1911015/how-do-i-debug-node-js-applications/52423980#52423980 + +Skip breaking on the first line every time: https://stackoverflow.com/questions/41153179/why-is-the-node-debugger-break-on-first-line-a-thing + +Break at function or line: https://stackoverflow.com/questions/65493221/how-to-break-at-a-specific-function-or-line-with-the-node-js-node-inspect-comman/65493318#65493318 + +Show more context lines... https://stackoverflow.com/questions/64942914/how-to-increase-the-number-of-context-lines-shown-in-the-node-js-debugger-when-u + ===== NPM https://en.wikipedia.org/wiki/Npm_(software)