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+ "type" : " node" ,
9+ "request" : " launch" ,
10+ "name" : " Debug Gulp Build" ,
11+ "program" : " ${workspaceFolder}/node_modules/gulp/bin/gulp.js" ,
12+ "args" : [
13+ " build" ,
14+ // Specify we want to debug the "src" target, which won't clean or build -- essentially a "dry-run" of the gulp build
15+ " --target" , " src"
16+ ]
17+ },
18+ {
19+ "type" : " node" ,
20+ "request" : " launch" ,
21+ "name" : " Debug Unit Tests" ,
22+ "cwd" : " ${workspaceRoot}" ,
23+ "program" : " ${workspaceFolder}/node_modules/.bin/jest" ,
24+ "skipFiles" : [
25+ " <node_internals>/**/*.js" ,
26+ " ${workspaceFolder}/node_modules/**/*.js"
27+ ],
28+ "env" : {
29+ "NODE_NO_WARNINGS" : " 1" ,
30+ "READABLE_STREAM" : " disable" ,
31+ "TEST_DOM_STREAMS" : " true" ,
32+ "TEST_NODE_STREAMS" : " true" ,
33+ "TEST_FILE_NAMES" : " primitive-empty primitive simple datetime decimal dictionary nested struct_example" ,
34+ // Modify these environment variables to run tests on a specific compilation target + module format combo
35+ "TEST_TS_SOURCE" : " true" ,
36+ // "TEST_TS_SOURCE": "false",
37+ // "TEST_TARGET": "es5",
38+ // "TEST_MODULE": "cjs"
39+ },
40+ "args" : [
41+ // "-i",
42+ " test/unit/ipc/" ,
43+ " test/integration/*" ,
44+
45+ // Uncomment any of these to run individual test suites
46+ // "test/unit/table-tests.ts",
47+ // "test/unit/ipc/message-reader-tests.ts",
48+ // "test/unit/ipc/record-batch-writer-tests.ts",
49+ // "test/unit/ipc/record-batch-json-reader-tests.ts",
50+ // "test/unit/ipc/record-batch-file-reader-tests.ts",
51+ // "test/unit/ipc/record-batch-stream-reader-tests.ts",
52+ // "test/unit/ipc/record-batch-reader-from-tests.ts",
53+ // "test/unit/ipc/record-batch-reader-streams-dom-tests.ts",
54+ // "test/unit/ipc/record-batch-writer-streams-dom-tests.ts",
55+ // "test/unit/ipc/record-batch-reader-streams-node-tests.ts",
56+ // "test/unit/ipc/record-batch-writer-streams-node-tests.ts",
57+ ]
58+ },
59+ {
60+ "type" : " node" ,
61+ "request" : " launch" ,
62+ "name" : " Debug Integration Tests" ,
63+ "cwd" : " ${workspaceRoot}" ,
64+ "program" : " ${workspaceFolder}/node_modules/.bin/jest" ,
65+ "skipFiles" : [
66+ " <node_internals>/**/*.js" ,
67+ " ${workspaceFolder}/node_modules/**/*.js"
68+ ],
69+ "env" : {
70+ "TEST_TS_SOURCE" : " true" ,
71+ "NODE_NO_WARNINGS" : " 1" ,
72+ "READABLE_STREAM" : " disable" ,
73+ "TEST_DOM_STREAMS" : " true" ,
74+ "TEST_NODE_STREAMS" : " true" ,
75+ "TEST_FILE_NAMES" : " primitive-empty primitive simple datetime decimal dictionary nested struct_example"
76+ },
77+ "args" : [
78+ // "-i",
79+ " test/integration/*"
80+ ]
81+ },
82+ {
83+ "type" : " node" ,
84+ "request" : " launch" ,
85+ "name" : " Debug bin/file-to-stream" ,
86+ "env" : { "ARROW_JS_DEBUG" : " src" },
87+ "runtimeArgs" : [" -r" , " ts-node/register" ],
88+ "args" : [
89+ " ${workspaceFolder}/bin/file-to-stream.js" ,
90+ " ./test/data/cpp/file/struct_example.arrow" ,
91+ " ./struct_example-file-out.arrow" ,
92+ ]
93+ },
94+ {
95+ "type" : " node" ,
96+ "request" : " launch" ,
97+ "name" : " Debug bin/stream-to-file" ,
98+ "env" : { "ARROW_JS_DEBUG" : " src" },
99+ "runtimeArgs" : [" -r" , " ts-node/register" ],
100+ "args" : [
101+ " ${workspaceFolder}/bin/stream-to-file.js" ,
102+ " ./test/data/cpp/stream/simple.arrow" ,
103+ " ./test/data/simple-file-out.arrow" ,
104+ ]
105+ },
106+ {
107+ "type" : " node" ,
108+ "request" : " launch" ,
109+ "name" : " Debug bin/json-to-arrow" ,
110+ "env" : { "ARROW_JS_DEBUG" : " src" },
111+ "runtimeArgs" : [" -r" , " ts-node/register" ],
112+ "args" : [
113+ " ${workspaceFolder}/bin/json-to-arrow.js" ,
114+ " -j" , " ./test/data/json/union.json" ,
115+ " -a" , " ./test/data/union-file.arrow" ,
116+ " -f" , " file"
117+ ]
118+ }
119+ ]
120+ }
0 commit comments