20 lines
692 B
Plaintext
20 lines
692 B
Plaintext
extends ./template
|
|
block content
|
|
p
|
|
| These code snippets are designed to be included in-line. You can store outputs using the
|
|
code out()
|
|
| function. Then, call the
|
|
code breakpoint()
|
|
| function to send those outputs to DevBug.
|
|
h2 Node.js
|
|
p To use DevBug in a Node.js app, install the "devbugjs" NPM package. Then, to initialize DevBug, use the following code snippet at any point in the application:
|
|
pre
|
|
code #{devbug.code.node}
|
|
h2 PHP
|
|
p
|
|
| You'll need to ensure that the DevBug server URL and Project API Key are correct. These are local variables in the
|
|
code breakpoint()
|
|
| function.
|
|
pre
|
|
code #{devbug.code.php}
|