Skip to content

Commit

Permalink
chore: disable debug output for debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
krigga committed Aug 14, 2024
1 parent e305fa2 commit 3375fa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ton/sandbox",
"version": "0.21.0-debugger.0",
"version": "0.21.0-debugger.1",
"description": "TON transaction emulator",
"main": "dist/index.js",
"license": "MIT",
Expand Down
3 changes: 1 addition & 2 deletions src/debugger/Debuggee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Cell, TupleItem } from '@ton/core';
import { InitializedEvent, Logger, logger, LoggingDebugSession, OutputEvent, StoppedEvent, TerminatedEvent, Thread } from '@vscode/debugadapter';
import { DebugProtocol } from '@vscode/debugprotocol';
import { basename } from 'node:path';
import { exit } from 'node:process';

export type SourceMapEntry = {
path: string;
Expand Down Expand Up @@ -368,7 +367,7 @@ export class TVMDebugSession extends LoggingDebugSession {
}

protected launchRequest(response: DebugProtocol.LaunchResponse, args: DebugProtocol.LaunchRequestArguments, request?: DebugProtocol.Request | undefined): void {
logger.setup(Logger.LogLevel.Verbose);
logger.setup(Logger.LogLevel.Log);

this.debuggee.start(!args.noDebug, true);

Expand Down

0 comments on commit 3375fa4

Please sign in to comment.