File tree 1 file changed +24
-0
lines changed 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 76
76
"console" : " integratedTerminal" , // otherwise it goes to the VSCode debug terminal, which can't read from stdin
77
77
"internalConsoleOptions" : " neverOpen" , // since we're not using it, don't automatically switch to it
78
78
},
79
+
80
+ // @sentry/utils - run a specific test file in watch mode
81
+ // must have file in currently active tab when hitting the play button
82
+ {
83
+ "type" : " node" ,
84
+ "request" : " launch" ,
85
+ "cwd" : " ${workspaceFolder}/packages/utils" ,
86
+ "name" : " Debug @sentry/utils tests - just open file" ,
87
+ "program" : " ${workspaceFolder}/node_modules/.bin/jest" ,
88
+ "args" : [
89
+ " --watch" ,
90
+ " --runInBand" ,
91
+ " --config" ,
92
+ " ${workspaceFolder}/packages/utils/package.json" ,
93
+ " --coverage" ,
94
+ " false" , // coverage messes up the source maps
95
+ " ${relativeFile}" // remove this to run all package tests
96
+ ],
97
+ "disableOptimisticBPs" : true ,
98
+ "sourceMaps" : true ,
99
+ "smartStep" : true ,
100
+ "console" : " integratedTerminal" , // otherwise it goes to the VSCode debug terminal, which can't read from stdin
101
+ "internalConsoleOptions" : " neverOpen" , // since we're not using it, don't automatically switch to it
102
+ },
79
103
]
80
104
}
You can’t perform that action at this time.
0 commit comments