We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d6edd0 + a96e12b commit bf536d0Copy full SHA for bf536d0
vm/tests/all/agentscript/agent-nodeboot.test
@@ -0,0 +1,16 @@
1
+> cat > ${TMP_DIR}/agent.js
2
+< let firstCall = function() {
3
+< console.log("Hello");
4
+< };
5
+< insight.on('return', firstCall, {
6
+< roots: true
7
+< });
8
+> cat > ${TMP_DIR}/script.js
9
+< console.log("World");
10
+> cd ${TMP_DIR}
11
+>[6] node --experimental-options --insight=agent.js script.js
12
+agent.js:3
13
+ console.log("Hello");
14
+ ^
15
+
16
+ReferenceError: console is not defined
0 commit comments