|
[https://www.netcracker.com/assets/img/netcracker-social-final.png] ƕ On 20 Jul 2017, at 16:34, Aaron Bartell <aaronbartell@xxxxxxxxx> wrote:
[External Email]
________________________________
Hi John,
Debugging Node.js can be done in a variety of fashions. Here's what I
currently do...
- REPL. The Node.js REPL is great for quickly testing smaller chunks
of code in PASE. I use this frequently to test my iterations of
formulating the correct parm lists for calling RPG programs.
- console.log(). Not ideal, but it works.
- If the code is platform agnostic then you can use the VSCode step
debugger (note this will eventually work for Node.js in PASE once IBM
addresses the node-inspector issue).
- Certain web frameworks have debug output capabilities while in
development mode. For example, ExpressJs debugging
<https://expressjs.com/en/guide/debugging.html>.
Aaron Bartell
IBM i hosting, starting at $157/month. litmis.com/spaces
On Wed, Jul 19, 2017 at 12:35 PM, john art <jhon_art@xxxxxxxxxxx> wrote:--
if node-inspecto don't work (if i wel understand) , how can i debug
nodeJs ?
Thanks in advance
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list To
post a message email: OpenSource@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/opensource.
This is the IBMi Open Source Roundtable (OpenSource) mailing list To
post a message email: OpenSource@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/opensource.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.