{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/11624","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/11624/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/11624/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/11624/events","html_url":"https://github.com/Microsoft/vscode/issues/11624","id":175469176,"number":11624,"title":"add the \"bin\" options in launch.json for advanced debugging","user":{"login":"mamboer","id":85879,"avatar_url":"https://avatars.githubusercontent.com/u/85879?v=3","gravatar_id":"","url":"https://api.github.com/users/mamboer","html_url":"https://github.com/mamboer","followers_url":"https://api.github.com/users/mamboer/followers","following_url":"https://api.github.com/users/mamboer/following{/other_user}","gists_url":"https://api.github.com/users/mamboer/gists{/gist_id}","starred_url":"https://api.github.com/users/mamboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamboer/subscriptions","organizations_url":"https://api.github.com/users/mamboer/orgs","repos_url":"https://api.github.com/users/mamboer/repos","events_url":"https://api.github.com/users/mamboer/events{/privacy}","received_events_url":"https://api.github.com/users/mamboer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-07T10:35:31Z","updated_at":"2016-09-07T10:35:31Z","closed_at":null,"body":"- VSCode Version: 1.4.0 \r\n- OS Version: MacOSX 10.11\r\n\r\n\r\nI'm working on a node app which will invoke [pug-cli](http://npmjs.com/package/pug-cli) to compile pug templates to html files.\r\n\r\nFor certain reasons i have to install `pug-cli` locally in the project, and config the `bin` options in package.json as below:\r\n\r\n```\r\n\"bin\": {\r\n    \"pug\": \"./node_modules/pug-cli/index.js\"\r\n  }\r\n```\r\n\r\nand in my app.js,\r\n\r\n```\r\nrequire('shelljs/global');\r\nexec(`pug -O \"{ env: '${env}' }\" -o ${type} chrome/views/`);\r\n...\r\n... \r\n//other logics\r\n```\r\n\r\nWhen i launch the app via VSC's debugger, it complains '/bin/sh: pug: command not found'。\r\n\r\nI hope that VSC can support custom local `bin` options like NPM.\r\n"}}
{"actor":{"display_login":"mamboer"}}