mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Fixed incorrect code sample in README for running the debugger. Closes #42.
This commit is contained in:
parent
7d840bcaa3
commit
47518c3e0f
@ -65,9 +65,10 @@ JavaScript. Luckily it comes with a full-on debugger included that can be much
|
||||
more useful than a simple stack trace. To invoke JSDoc with the debugger try the
|
||||
following command:
|
||||
|
||||
$ java -classpath js.jar \
|
||||
org.mozilla.javascript.tools.debugger.Main jsdoc.js \
|
||||
$ java -classpath lib/js.jar \
|
||||
org.mozilla.javascript.tools.debugger.Main -debug \
|
||||
-modules node_modules -modules rhino_modules \
|
||||
jsdoc.js \
|
||||
your/script.js
|
||||
|
||||
This will open a debugging window. Choose "Break on Exceptions" from the "Debug"
|
||||
|
||||
2
jsdoc
2
jsdoc
@ -5,4 +5,4 @@ PWD=`pwd`
|
||||
BASEDIR=`dirname $0`
|
||||
java -classpath ${BASEDIR}/lib/js.jar org.mozilla.javascript.tools.shell.Main -modules ${BASEDIR}/node_modules -modules ${BASEDIR}/rhino_modules ${BASEDIR}/jsdoc.js --dirname=${PWD}/${BASEDIR} $@
|
||||
|
||||
#java -classpath ${BASEDIR}/lib/js.jar org.mozilla.javascript.tools.debugger.Main -debug -modules ${BASEDIR}/node_modules -modules ${BASEDIR}/rhino_modules ${BASEDIR}/jsdoc.js ${BASEDIR}/jsdoc.js --dirname=${PWD}/${BASEDIR} $@
|
||||
#java -classpath ${BASEDIR}/lib/js.jar org.mozilla.javascript.tools.debugger.Main -debug -modules ${BASEDIR}/node_modules -modules ${BASEDIR}/rhino_modules ${BASEDIR}/jsdoc.js --dirname=${PWD}/${BASEDIR} $@
|
||||
Loading…
x
Reference in New Issue
Block a user