× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



from qshell if i run

"node -debug --web-host 192.168.0.1 --web-port=13000 server.js ", i
reveice :

node: bad option: -debug
node: bad option: --web-host


where am i wrong ?

Try using node-debug instead of node - debug


On Jun 1, 2017 2:28 PM, "john art" <jhon_art@xxxxxxxxxxx> wrote:

Hi All

i would try to debug Nodej following the Scott Klement PDF (
https://www.scottklement.com/presentations/World%20of%
20NodeJS%20on%20IBM%20i.pdf )


in this pdf i find:

"node-debug --web-host your-ibmi.com --web-port=13000 yourNodeApp.js

Then point chrome to http://mysystem:13000/?port=5858

If you run this on your PC, it'll automatically open Chrome for you. If you
debug it from IBM i, you'll have to open Chrome manually. This will open
the Chrome debugger, and you can debug it, step through it, display"


from qshell if i run

"node -debug --web-host 192.168.0.1 --web-port=13000 server.js ", i
reveice :

node: bad option: -debug
node: bad option: --web-host


where am i wrong ?

Thanks




--
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.