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
Environment: (Hint: "Report Extension Issue on Github" command will fill these out for you.)
Version information
Cloud Code Extension version: v1.9.0
VSCode version: 1.53.2
OS: Ubuntu 20.04
Cloud SDK:
Skaffold: 1.20.0
Kubectl: 1.20.4
Description:
Cloud Code Extension uses debuggerPath: "/vsdbg/vsdbg" but the init container (see https://github.com/GoogleContainerTools/container-debug-support) that are used in skaffold installs it in "/dbg/netcore/vsdbg". I don't found any possibility to change debuggerPath in vscode config for "cloudcode.kubernetes" type.
Replacing it in the extensions.js does the trick and it works out of the box (ps command still needs to be installed in the application container, there is an open issue for that dotnet/vscode-csharp#4096)
sed -i 's#"/vsdbg/vsdbg"#"/dbg/netcore/vsdbg"#g'~/.vscode/extensions/googlecloudtools.cloudcode-1.9.0/dist/extension.js
Repro step: trying to debug with following config in launch.json in vscode:
@616b2f Thank you for the report. I think our sample is currently using the vsdbgpath and that is why there is this disconnect. We can expose this path option in the debug node. WDYT?
@quoctruong Thank you for the fast reply. Exactly, it looks like this was the first solution and then skaffold introduced a new way using initial containers, but the samples didn't changed since then. I think this would be great, so the user could decide which way he want to use.
Environment:
(Hint: "Report Extension Issue on Github" command will fill these out for you.)
Version information
Cloud Code Extension version: v1.9.0
VSCode version: 1.53.2
OS: Ubuntu 20.04
Cloud SDK:
Skaffold: 1.20.0
Kubectl: 1.20.4
Description:
Cloud Code Extension uses debuggerPath: "/vsdbg/vsdbg" but the init container (see https://github.com/GoogleContainerTools/container-debug-support) that are used in skaffold installs it in "/dbg/netcore/vsdbg". I don't found any possibility to change debuggerPath in vscode config for "cloudcode.kubernetes" type.
Replacing it in the extensions.js does the trick and it works out of the box (
ps
command still needs to be installed in the application container, there is an open issue for that dotnet/vscode-csharp#4096)Repro step: trying to debug with following config in launch.json in vscode:
EDIT: updated sed command, it had an error in it.
The text was updated successfully, but these errors were encountered: