openfga/vscode-ext

fix: Web test's launch.json configuration

d-jeffery opened this issue · 0 comments

Regarding #77

I have not been able to get the launch.json configuration to run & debug the test suite in a browser. The test suite doenst appear to accept a ENV var like the test suite does for the node variation, and the extension in web mode doesnt use the browser's file scheme.

Development mode for Node -> file://
Development mode for Web -> file://
Chromium Browser -> vscode-test-web://

This means we can't easily debug the web tests via launch.json:
https://github.com/openfga/vscode-ext/blob/main/.vscode/launch.json#L60-L76