From cba7c8b835b2919bfc5f1e6f7ccbe44002e83f68 Mon Sep 17 00:00:00 2001 From: Pier-Luc Gendreau Date: Sun, 15 Apr 2018 12:20:34 -0400 Subject: [PATCH 1/3] Add docs for debugging with node inspector --- readme.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/readme.md b/readme.md index 1dbc99a..00535de 100644 --- a/readme.md +++ b/readme.md @@ -44,6 +44,22 @@ As the final step, start the development server like this: npm run dev ``` +## Debugging + +`micro-dev` can be used in conjunction with the Node.js Inspector + +```json +"scripts": { + "inspect": "node --inspect node_modules/.bin/micro-dev" +} +``` + +As the final step, start the development server like this: + +```bash +npm run inspect +``` + ## Contributing 1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device From 6e3e24b07b384c08535f1e74bf7b8fc4d3d6b89a Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Tue, 15 May 2018 13:47:33 +0200 Subject: [PATCH 2/3] Use Yarn --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 00535de..d698ab8 100644 --- a/readme.md +++ b/readme.md @@ -46,7 +46,7 @@ npm run dev ## Debugging -`micro-dev` can be used in conjunction with the Node.js Inspector +The package can be used in conjunction with the Node.js inspector like this: ```json "scripts": { @@ -57,7 +57,7 @@ npm run dev As the final step, start the development server like this: ```bash -npm run inspect +yarn run inspect ``` ## Contributing From 0effb9a49c229893afc2d283eada251bed25ac6d Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Tue, 15 May 2018 13:48:02 +0200 Subject: [PATCH 3/3] Renamed file --- readme.md => README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename readme.md => README.md (100%) diff --git a/readme.md b/README.md similarity index 100% rename from readme.md rename to README.md