Eligio				Merino
Infrastructure SME with over 20 years in designing, building, securing and monitoring full-stack platforms.
		Infrastructure SME with over 20 years in designing, building, securing and monitoring full-stack platforms.
Making React run properly in Eclipse can be a really big headache…or an amazingly cool experience with CodeMix! CodeMix integrates the best of the VS Code world into Eclipse, such as support to create and debug React applications. Follow this React tutorial to quickly create and debug an app in Eclipse with CodeMix:
http://www.genuitec.com/products/codemix/download/SET BROWSER=nonenpm install --global react-scriptsnpm installreact-scripts startCtrl/Cmd+Shift+P and start typing.
ReactDOM.render() in the src/index.js file.{
	"version": "0.2.0",
	"configurations": [
    	{
        	"name": "Chrome",
        	"type": "chrome",
        	"request": "launch",
        	"url": "http://localhost:3000",
        	"webRoot": "${workspaceRoot}"
    	}
	]
}
Right-click on your React project and choose Debug As > Debug Configurations, and then double-click on your new Chrome debug configuration. 
 
 
A new Chrome window opens pointing to your React app at http://localhost:3000/.
To start the debugging between Chrome and Eclipse, refresh that window with F5 (a workaround that the Chrome-Debugger extension developers may improve in the future). You will see something like this in your browser:![]()
After completing this React tutorial, you’ll probably love CodeMix like I do and you will want to unlock your CodeMix 45-day trial period: in Eclipse, go to Help > Update License and click on the Login or register link.
