@@ -153,31 +153,31 @@ jobs:
153
153
errorActionPreference : stop
154
154
displayName : ' Pack NPM packages'
155
155
- script : |
156
- npm test -- -e=chrome -b=webgl,wasm
156
+ npm test -- -e=chrome -b=webgl,wasm --karma-debug
157
157
workingDirectory: '$(Build.SourcesDirectory)\js\web'
158
158
displayName: 'Run ort-web tests (wasm,webgl backend)'
159
159
condition: eq('${{ parameters.RunWebGpuTests }}', 'false')
160
160
- script : |
161
- npm test -- -e=chrome -b=webgl,wasm,webgpu $(webgpuCommandlineExtraFlags)
161
+ npm test -- -e=chrome -b=webgl,wasm,webgpu --karma-debug $(webgpuCommandlineExtraFlags)
162
162
workingDirectory: '$(Build.SourcesDirectory)\js\web'
163
163
displayName: 'Run ort-web tests (ALL backends)'
164
164
condition: eq('${{ parameters.RunWebGpuTests }}', 'true')
165
165
- script : |
166
- npm test -- suite1 -e=chrome -b=webgpu --io-binding=gpu-tensor $(webgpuCommandlineExtraFlags)
166
+ npm test -- suite1 -e=chrome -b=webgpu --io-binding=gpu-tensor --karma-debug $(webgpuCommandlineExtraFlags)
167
167
workingDirectory: '$(Build.SourcesDirectory)\js\web'
168
168
displayName: 'Run ort-web tests (Suite1, webgpu, IO-binding=gpu-tensor)'
169
169
condition: eq('${{ parameters.RunWebGpuTests }}', 'true')
170
170
- script : |
171
- npm test -- suite1 -e=chrome -b=webgpu --io-binding=gpu-location $(webgpuCommandlineExtraFlags)
171
+ npm test -- suite1 -e=chrome -b=webgpu --io-binding=gpu-location --karma-debug $(webgpuCommandlineExtraFlags)
172
172
workingDirectory: '$(Build.SourcesDirectory)\js\web'
173
173
displayName: 'Run ort-web tests (Suite1, webgpu, IO-binding=gpu-location)'
174
174
condition: eq('${{ parameters.RunWebGpuTests }}', 'true')
175
175
- script : |
176
- npm test -- --webgl-texture-pack-mode -b=webgl -e=chrome
176
+ npm test -- --webgl-texture-pack-mode -b=webgl -e=chrome --karma-debug
177
177
workingDirectory: '$(Build.SourcesDirectory)\js\web'
178
178
displayName: 'Run ort-web tests - WebGL: packed mode'
179
179
- script : |
180
- npm test -- --wasm-enable-proxy -b=wasm -e=chrome
180
+ npm test -- --wasm-enable-proxy -b=wasm -e=chrome --karma-debug
181
181
workingDirectory: '$(Build.SourcesDirectory)\js\web'
182
182
displayName: 'Run ort-web tests - WebAssembly: proxy'
183
183
condition: and(succeeded(), eq('${{ parameters.BuildConfig }}', 'Release'))
0 commit comments