dbos-inc / ttdbg-extension

DBOS Time Travel Debugger extension for VS Code
https://docs.dbos.dev
MIT License
5 stars 1 forks source link

Retrieve prov DB info from cloud via dbos-cloud CLI #4

Closed devhawk closed 6 months ago

devhawk commented 6 months ago

Use dbos-cloud to retrieve the host/port/database/user info for the provenance DB from the cloud via npx dbos-cloud

This PR also updates the extension to support multi-folder workspaces in VSCode. Typically, users have a single folder in their VSCode workspace, but this PR adds extra logic to associate the VSCode workspace w/ the code lens in case the user has multi-folder workspaces. Note, the extension assumes the DBOS app package is in the root of the associated VSCode workspace folder (i.e. the workspace folder is used as the current directory when executing npx dbos-cloud commands)