vscode-debug-launcher icon indicating copy to clipboard operation
vscode-debug-launcher copied to clipboard

i get "Couldn't generate a launch configuration" when i try debugger from terminal

Open GitMyCode opened this issue 3 years ago • 3 comments

I installed the plugin in vscode and did what was written here https://github.com/fabiospampinato/vscode-debug-launcher/blob/master/docs/terminal.md. to get the debugger command in zsh internal vscode terminal. but whatever i write i always get Couldn't generate a launch configuration image

GitMyCode avatar Jun 09 '21 19:06 GitMyCode

I'll have to look into that.

fabiospampinato avatar Jun 09 '21 19:06 fabiospampinato

I have the same problem too. I found it's the args parameter of 'vscode://fabiospampinato.vscode-debug-launcher/launch?args=JSON_STRING'. So I updated the code and make the JSON_STRING to be base64 and then it does the trick. You could check my fork for reference vscode-debug-launcher.

Jedliu avatar Dec 23 '21 13:12 Jedliu

By the way, I made another plugin to encode the JSON as base64 string. You could check it at vscode-debug-launcher-trigger.

Jedliu avatar Dec 23 '21 13:12 Jedliu