![]() onlyWithFlag - Only processes launched with the -inspect or -inspect-brk flag will be debugged.Īfter enabling Auto Attach, you'll need to restart your terminal by clicking the ⚠ icon in the top right of the terminal, or just creating a new one.always - All Node.js processes launched in the Integrated Terminal will be debugged.You can configure the 'runner' script allow list using the Auto Attach Smart Pattern setting ( ). smart - If you execute a script outside of your node_modules folder or use a common 'runner' script like mocha or ts-node, the process will be debugged.There are three modes for auto attach, which you can select in the resulting Quick Pick and via the setting: To enable the feature, either use the Toggle Auto Attach command from the Command Palette ( ⇧⌘P (Windows, Linux Ctrl+Shift+P)) or, if it's already activated, use the Auto Attach Status bar item. ![]() If the Auto Attach feature is enabled, the Node debugger automatically attaches to certain Node.js processes that have been launched from VS Code's Integrated Terminal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |