Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cannot run a debugger #12

Open
JehyukJang opened this issue Jan 30, 2025 · 1 comment
Open

[BUG] Cannot run a debugger #12

JehyukJang opened this issue Jan 30, 2025 · 1 comment

Comments

@JehyukJang
Copy link
Member

Bug Description

Current repository setting does not support running a debugger for Synthesizer.

Steps To Reproduce

  1. Set .vscode/launch.json with the following content:

{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch with tsx",
"runtimeExecutable": "tsx",
"args": ["${workspaceFolder}/packages/frontend/synthesizer/examples/erc20/ton-transfer.ts"],
"skipFiles": ["<node_internals>/**"]
}
]
}

This setting worked with ethereumjs-monorepo
2. Start debugging

Expected Behavior

Start debugging mode

Actual Behavior

Uncaught Error Error
at asyncRunEntryPointWithESMLoader (<node_internals>/internal/modules/run_main:122:5)
--- await ---
at runEntryPointWithESMLoader (<node_internals>/internal/modules/run_main:138:19)
at executeUserEntryPoint (<node_internals>/internal/modules/run_main:175:5)
at (<node_internals>/internal/main/run_main_module:36:49)

No debugger available, can not send 'variables'
Process exited with code 1

Screenshots

Environment

  • OS:
  • Version:
  • Compiler Version:
  • Other relevant environment details:

Additional Context

@SonYoungsung
Copy link
Member

I'm gonna include it in a next update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants