{"action":"closed","issue":{"url":"https://api.github.com/repos/remy/nodemon/issues/1263","repository_url":"https://api.github.com/repos/remy/nodemon","labels_url":"https://api.github.com/repos/remy/nodemon/issues/1263/labels{/name}","comments_url":"https://api.github.com/repos/remy/nodemon/issues/1263/comments","events_url":"https://api.github.com/repos/remy/nodemon/issues/1263/events","html_url":"https://github.com/remy/nodemon/issues/1263","id":299773855,"number":1263,"title":"Should nodemon pass `--inspect` (et al) to node automatically?","user":{"login":"eilgin","id":1125661,"avatar_url":"https://avatars0.githubusercontent.com/u/1125661?v=4","gravatar_id":"","url":"https://api.github.com/users/eilgin","html_url":"https://github.com/eilgin","followers_url":"https://api.github.com/users/eilgin/followers","following_url":"https://api.github.com/users/eilgin/following{/other_user}","gists_url":"https://api.github.com/users/eilgin/gists{/gist_id}","starred_url":"https://api.github.com/users/eilgin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eilgin/subscriptions","organizations_url":"https://api.github.com/users/eilgin/orgs","repos_url":"https://api.github.com/users/eilgin/repos","events_url":"https://api.github.com/users/eilgin/events{/privacy}","received_events_url":"https://api.github.com/users/eilgin/received_events","type":"User","site_admin":false},"labels":[{"id":176009555,"url":"https://api.github.com/repos/remy/nodemon/labels/has%20PR","name":"has PR","color":"bfe5bf","default":false},{"id":98631377,"url":"https://api.github.com/repos/remy/nodemon/labels/help%20wanted","name":"help wanted","color":"43d367","default":true},{"id":2770072,"url":"https://api.github.com/repos/remy/nodemon/labels/needs%20more%20info","name":"needs more info","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-23T16:40:53Z","updated_at":"2018-02-27T16:42:32Z","closed_at":"2018-02-27T16:42:32Z","author_association":"NONE","body":"- `nodemon -v`: 1.15.1\r\n- `node -v`: 8.9.4\r\n- Operating system/terminal environment: MacOS\r\n- Command you ran: nodemon --inspect\r\n\r\n### Expected behaviour\r\nExpect to run `node --inspect index.js`. It should work without specifying the default JS file (`nodemon` should look for the file defined in \"main\").\r\n\r\n### Actual behaviour\r\nIt runs `node index.js --inspect` which doesn't start the debugger. It works only if i specify the JS file with `nodemon --inspect index.js`.\r\n\r\n### Steps to reproduce\r\nJust run `nodemon --inspect`\r\n\r\n---\r\n\r\nIf applicable, please append the `--dump` flag on your command and include the output here **ensuring to remove any sensitive/personal details or tokens**.\r\n"}}
{"actor":{"display_login":"remy"}}