VS code debugging note
Here I'm going to share experience of debugging vs code. I pick issue #26956 for example(not sure if I can fix it). Issue: #26956 : Can't find files starting with `./` on MacOS. Steps: 1. Open vs code development. 2. Try if issue exist. 3. Find the relative code for issue. 4. Modify code to fix the bug. 5. Try if issue fixed. 6. Test error. 7. Pull request to repository. Let's begin: 1. Open vs code. In terminal, go to vs code directory. Open vs code using this command: ./scripts/code.sh 2. Try issue. Press 'cmd+p', type './' in the search box. It seems like this: Yes. The issue is exist. We can start debugging it. 3. Find relative code: To find the code, we can use a tool called "Toggle Develop Tool". Press 'cmd+shift+p', type: 'developer:toggle develop tools'. It should pull down a list. Click the first one shown as below: The interface of the develop tool is like this: Then, ...