cdb - Code DeBuggerThis is the extension to launch debug sessions in VSCode directly from terminal. RationaleThere's some demand for an option to launch debug sessions in VSCode from terminal rather than setting up specific debug configurations even for simple, one-off debugging tasks. This extension provides own shell command - 'cdb' - that aims to substitute the missing but so much desired '--debug' option for the 'code' command. UsageAfter installing the extension, there's a new command available in command palette - "CDB: Install shell command" which does exactly that. The 'cdb' is installed into '/usr/local/bin' directory - the same directory where 'code' command is installed. After installing you can start debuggig by running
More details on supported arguments and options can be found running |