mstar

Results 5 comments of mstar

vscode调试断点灰色的解决: **### 检查auto attach是否开启,最新版本vscode,1.42.1版本,开启auto attach后右下角显示** ![image](https://user-images.githubusercontent.com/18113203/75533946-b5f6fb80-5a4f-11ea-9a78-805604b32671.png) 并且命令窗口下有 ![image](https://user-images.githubusercontent.com/18113203/75534580-e5a60380-5a4f-11ea-9c7e-96c05ba983e3.png) ### **我这边最新版这个功能默认是个disable的状态,需要在设置中开启** ![image](https://user-images.githubusercontent.com/18113203/75535411-2271fa80-5a50-11ea-8608-2b58b0c616bc.png) 开启后可以直接命令egg-bin debug开启调试,我觉得每次输入命令麻烦就还是用F5,launch.json配置如下,并且可以直接重启调试: ``` { "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "启动程序", "runtimeExecutable": "npm", "runtimeArgs": [...

``` //config.default.js auth: { ignore: [ ctx => ctx.urlMatch('post', '/v1/login'), ctx => ctx.urlMatch('get', '/v1/gifshow/qrcode'), ctx => ctx.urlMatch('post', '/v1/session'), ctx => ctx.urlMatch('post', '/v1/admin'), ctx => ctx.urlMatch('put', '/v1/order'), ctx => ctx.urlMatch('get', '/v1/courierCompany'),...

#https://github.com/eggjs/egg/issues/4243