|
| 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 | + // Modify these environment variables to run tests on a specific compilation target + module format combo |
| 34 | + "TEST_TS_SOURCE": "true", |
| 35 | + // "TEST_TS_SOURCE": "false", |
| 36 | + // "TEST_TARGET": "es5", |
| 37 | + // "TEST_MODULE": "umd" |
| 38 | + }, |
| 39 | + "args": [ |
| 40 | + // "-i", |
| 41 | + "test/unit/", |
| 42 | + |
| 43 | + // Uncomment any of these to run individual test suites |
| 44 | + // "test/unit/int-tests.ts", |
| 45 | + // "test/unit/table-tests.ts", |
| 46 | + // "test/unit/generated-data-tests.ts", |
| 47 | + |
| 48 | + // "test/unit/vector/vector-tests.ts", |
| 49 | + // "test/unit/vector/bool-vector-tests.ts", |
| 50 | + // "test/unit/vector/date-vector-tests.ts", |
| 51 | + // "test/unit/vector/float16-vector-tests.ts", |
| 52 | + // "test/unit/vector/numeric-vector-tests.ts", |
| 53 | + |
| 54 | + // "test/unit/visitor-tests.ts", |
| 55 | + |
| 56 | + // "test/unit/ipc/message-reader-tests.ts", |
| 57 | + // "test/unit/ipc/reader/file-reader-tests.ts", |
| 58 | + // "test/unit/ipc/reader/json-reader-tests.ts", |
| 59 | + // "test/unit/ipc/reader/from-inference-tests.ts", |
| 60 | + // "test/unit/ipc/reader/stream-reader-tests.ts", |
| 61 | + // "test/unit/ipc/reader/streams-dom-tests.ts", |
| 62 | + // "test/unit/ipc/reader/streams-node-tests.ts", |
| 63 | + // "test/unit/ipc/writer/file-writer-tests.ts", |
| 64 | + // "test/unit/ipc/writer/json-writer-tests.ts", |
| 65 | + // "test/unit/ipc/writer/stream-writer-tests.ts", |
| 66 | + // "test/unit/ipc/writer/streams-dom-tests.ts", |
| 67 | + // "test/unit/ipc/writer/streams-node-tests.ts", |
| 68 | + ] |
| 69 | + }, |
| 70 | + { |
| 71 | + "type": "node", |
| 72 | + "request": "launch", |
| 73 | + "name": "Debug Integration Tests", |
| 74 | + "cwd": "${workspaceRoot}", |
| 75 | + "program": "${workspaceFolder}/bin/integration.js", |
| 76 | + "skipFiles": [ |
| 77 | + "<node_internals>/**/*.js", |
| 78 | + "${workspaceFolder}/node_modules/**/*.js" |
| 79 | + ], |
| 80 | + "env": { |
| 81 | + "NODE_NO_WARNINGS": "1", |
| 82 | + "READABLE_STREAM": "disable" |
| 83 | + }, |
| 84 | + "args": [ |
| 85 | + "--mode", "VALIDATE" |
| 86 | + ] |
| 87 | + }, |
| 88 | + { |
| 89 | + "type": "node", |
| 90 | + "request": "launch", |
| 91 | + "name": "Debug bin/arrow2csv", |
| 92 | + "env": { "ARROW_JS_DEBUG": "src", "TS_NODE_CACHE": "false" }, |
| 93 | + "runtimeArgs": ["-r", "ts-node/register"], |
| 94 | + "console": "integratedTerminal", |
| 95 | + "skipFiles": [ |
| 96 | + "<node_internals>/**/*.js", |
| 97 | + "${workspaceFolder}/node_modules/**/*.js" |
| 98 | + ], |
| 99 | + "args": [ |
| 100 | + "${workspaceFolder}/src/bin/arrow2csv.ts", |
| 101 | + "-f", "./test/data/cpp/stream/simple.arrow" |
| 102 | + ] |
| 103 | + }, |
| 104 | + { |
| 105 | + "type": "node", |
| 106 | + "request": "launch", |
| 107 | + "name": "Debug bin/file-to-stream", |
| 108 | + "env": { "ARROW_JS_DEBUG": "src", "TS_NODE_CACHE": "false" }, |
| 109 | + "runtimeArgs": ["-r", "ts-node/register"], |
| 110 | + "skipFiles": [ |
| 111 | + "<node_internals>/**/*.js", |
| 112 | + "${workspaceFolder}/node_modules/**/*.js" |
| 113 | + ], |
| 114 | + "args": [ |
| 115 | + "${workspaceFolder}/bin/file-to-stream.js", |
| 116 | + "./test/data/cpp/file/struct_example.arrow", |
| 117 | + "./struct_example-stream-out.arrow", |
| 118 | + ] |
| 119 | + }, |
| 120 | + { |
| 121 | + "type": "node", |
| 122 | + "request": "launch", |
| 123 | + "name": "Debug bin/stream-to-file", |
| 124 | + "env": { "ARROW_JS_DEBUG": "src", "TS_NODE_CACHE": "false" }, |
| 125 | + "runtimeArgs": ["-r", "ts-node/register"], |
| 126 | + "skipFiles": [ |
| 127 | + "<node_internals>/**/*.js", |
| 128 | + "${workspaceFolder}/node_modules/**/*.js" |
| 129 | + ], |
| 130 | + "args": [ |
| 131 | + "${workspaceFolder}/bin/stream-to-file.js", |
| 132 | + "./test/data/cpp/stream/struct_example.arrow", |
| 133 | + "./struct_example-file-out.arrow", |
| 134 | + ] |
| 135 | + }, |
| 136 | + { |
| 137 | + "type": "node", |
| 138 | + "request": "launch", |
| 139 | + "name": "Debug bin/json-to-arrow", |
| 140 | + "env": { "ARROW_JS_DEBUG": "src", "TS_NODE_CACHE": "false" }, |
| 141 | + "runtimeArgs": ["-r", "ts-node/register"], |
| 142 | + "skipFiles": [ |
| 143 | + "<node_internals>/**/*.js", |
| 144 | + "${workspaceFolder}/node_modules/**/*.js" |
| 145 | + ], |
| 146 | + "args": [ |
| 147 | + "${workspaceFolder}/bin/json-to-arrow.js", |
| 148 | + "-j", "./test/data/json/struct_example.json", |
| 149 | + "-a", "./struct_example-stream-out.arrow", |
| 150 | + "-f", "stream" |
| 151 | + ] |
| 152 | + }, |
| 153 | + { |
| 154 | + "type": "node", |
| 155 | + "request": "launch", |
| 156 | + "name": "Debug bin/print-buffer-alignment", |
| 157 | + "env": { "ARROW_JS_DEBUG": "src", "TS_NODE_CACHE": "false" }, |
| 158 | + "runtimeArgs": ["-r", "ts-node/register"], |
| 159 | + "skipFiles": [ |
| 160 | + "<node_internals>/**/*.js", |
| 161 | + "${workspaceFolder}/node_modules/**/*.js" |
| 162 | + ], |
| 163 | + "args": [ |
| 164 | + "${workspaceFolder}/bin/print-buffer-alignment.js", |
| 165 | + "./test/data/cpp/stream/struct_example.arrow" |
| 166 | + ] |
| 167 | + } |
| 168 | + ] |
| 169 | +} |
0 commit comments