Skip to content

Commit b7b6305

Browse files
author
mike dupont
committed
adding launch for example
1 parent 6ee9925 commit b7b6305

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.vscode/launch.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
8+
{
9+
"name": "Generic Remote Debugger",
10+
"type": "node",
11+
"request": "attach",
12+
"address" :"192.168.1.90",
13+
"localSourceRoot": "${workspaceRoot}",
14+
"port": 9229
15+
}
16+
]
17+
}

agent/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "src/index.ts",
55
"type": "module",
66
"scripts": {
7-
"start": "node --prof --inspect-brk=0.0.0.0:9229 --require mytracing.js --loader ts-node/esm src/index.ts",
7+
"start": "node --heap-prof --cpu-prof --prof --inspect-brk=0.0.0.0:9229 --require mytracing.js --loader ts-node/esm src/index.ts",
88
"dev": "node --loader ts-node/esm src/index.ts",
99
"check-types": "tsc --noEmit",
1010
"test": "jest"

0 commit comments

Comments
 (0)