revdebug.json
in main app folder of your project where you have package.json to setup connection with RevDeBug Monitor.host
port
webPort
release
version
solution
application
type
runtime
mode
sourceMap
path
files
index
postPath
postFiles
as path
does for files
.postFiles
revdebug.json
as such:-a var=value
or --arg var=value
option. If you wish to use an environment variable or command line specified argument for an option which takes a number or boolean value then you must use a string:revdebug.json
. Everything is done using the revd
script. Depending on how you have the RevDeBug npm module installed you either execute it directly, or run it with npx revd
. For a full list of options run revd --help
..npmrc
file with the line:revd
script is used to either compile individual groups of files or to compile from a revdebug.json
configuration file that can be present in the topmost directory of the project. revdebug.json
can contain only options, options and files for the project or multiple hierarchical subprojects with their own options each of which can be instrumented individually. Command line configuration options can override options in revdebug.json
if you wish to build a subproject with different options than are specified in revdebug.json
.revd
manages the source files you are instrumenting by copying the clean originals to a parallel directory tree under revdsrc/ at the top level directory of the project and replacing the original files with instrumented versions. This is done so that the original project does not have to be aware of or changed for RevDeBug.package.json
or revdebug.json
file. All operations are executed with respect to this directory, even if you run revd
in a subdirectory.revdebug.json
then the project can be instrumented by doing: revd
--help
-h
)--version
-v
)--post
--clean
--remove
--dump
--arg ARG=VAL
"\${ARG}"
will be replaced with "VAL"
. (short: -a
)-force
-f
)--skip
-s
)-j NUM
--verbose
--verb
)--chost ADDR
--host
or config)--cport PORT
--port
or config)host
port
webPort
web
projects, this must be a number. A value of 0 indicates that the appropriate port 80 or 443 be used according to the secure
status.secure
connectTimeout
reconnectWait
solution
package.json
is present this comes from the name
field.application
package.json
is present this comes from the main
field.version
package.json
is present this comes from the version
field.release
authToken
apm
true
or false
, default is false
.apmHost
host
. ("node" target only, ignored for "web")apmPort
excludeIn
revdebug.json
file, so for example to set host
on the command line specify --host address
. Options which are boolean such as --apm
or --sourceMap
can be specified on the command line as such to indicate true or --noapm
and --nosourceMap
to indicate false, --apm=true
and --apm=false
are also accepted.