You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My configurations is : {type : starlark, request: attach, debugServer: 4711}
After running command 'build //cmd/gencopy --experimental_skylark_debug
' and 'bzl debug adapter' successfully, I try to debug following the video : https://www.youtube.com/watch?v=MAXJA8Gbtxk
it reminds: it reminds: connection error: proto: cannot parse invalid wire-format data
How to fix it, I have no idea ^_^
The text was updated successfully, but these errors were encountered:
I am coding with Starlark language recently and try to use Starlark debug tools to debug Starlark program.
When running Starlark Debug Server, it reminds that ‘connection err: photo: cannot parse invalid wire-format data’
My configuration is:
{
"version": "0.2.0",
"configurations": [{
"type": "starlark",
"request": "attach",
"debugServer": 4711,
"name": "Attach to a running Starlark Debug Server"
}]
}
Before running it. I download your “rules_proto" project and run the following two commands in two different terminal.
bazel build //cmd/gencopy --experimental_skylark_debug
Starting local Bazel server and connecting to it…
bzl debug adapter --make_default_workspace_content=false --address 127.0.0.1:4711
INFO[0000] Debug adapter listening on 127.0.0.1:4711
INFO[0010] Accepted connection from 127.0.0.1:64541
Trying to connect to a Starlark server at localhost:7300...
Connected
INFO[0091] No more data to read: EOF
INFO[0091] Closing connection from 127.0.0.1:64541
When I adjust the configuration attach to launch
{
"version": "0.2.0",
"configurations": [
{
"type": "starlark",
"request": "launch",
"name": "Attach to a running Starlark Debug Server",
"targetLabel": "//cmd/gencopy"
// "targetLabel":"${workspaceFolder}/${command:bsv.bzl.askForDebugTargetLabel}"
}]
}
The debugger running without reminder, but the icon looks like that.
And I already set lots of breakpoints
By searching lots of documents, I cannot find out the result.
My configurations is : {type : starlark, request: attach, debugServer: 4711}
After running command 'build //cmd/gencopy --experimental_skylark_debug
' and 'bzl debug adapter' successfully, I try to debug following the video : https://www.youtube.com/watch?v=MAXJA8Gbtxk
it reminds: it reminds: connection error: proto: cannot parse invalid wire-format data
How to fix it, I have no idea ^_^
The text was updated successfully, but these errors were encountered: