Skip to content

Commit

Permalink
Minor updates (#3)
Browse files Browse the repository at this point in the history
* log debug session start

* change main VSCode log channel name to just "DBOS"
  • Loading branch information
devhawk authored Feb 16, 2024
1 parent b1a3969 commit eb9fe2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export async function startDebugging(name: string, $type: DbosMethodType) {

if (!wfID) { return; }

const proxy_port = config.proxyPort ?? 2345;
const proxyURL = `http://localhost:${proxy_port}`;
logger.info(`Starting debugging for ${name} workflow ${wfID}`);

const proxyURL = `http://localhost:${config.proxyPort ?? 2345}`;
await vscode.debug.startDebugging(
vscode.workspace.getWorkspaceFolder(vscode.window.activeTextEditor!.document.uri),
{
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export let debugProxy: DebugProxy;

export async function activate(context: vscode.ExtensionContext) {

const transport = new LogOutputChannelTransport('DBOS Time Travel Debugger');
const transport = new LogOutputChannelTransport('DBOS');
logger = createLogger(transport);
context.subscriptions.push({ dispose() { logger.close(); transport.close(); } });

Expand Down

0 comments on commit eb9fe2a

Please sign in to comment.