Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous Interactive Mode Workflow #244

Open
mokanfar opened this issue May 6, 2020 · 0 comments
Open

Continuous Interactive Mode Workflow #244

mokanfar opened this issue May 6, 2020 · 0 comments

Comments

@mokanfar
Copy link

mokanfar commented May 6, 2020

Hello I was under the impression indium was like quokka (it is first result in google when searching for "quokka emacs").

Is interactive indium mode like quokka or not? Having a hard time getting a basic example to work such as:

  • js2-minor mode enabled in buffer
  • indium interactive mode enabled in buffer
  • indium-connect works

test file test.js:

var a = 1;
var b = 2;
function c(num1,num1) {
    return num1+num2;
}
console.log(c(a,b));

indium json:

{
	"configurations":
	[
		{
			"name": "test",
			"type": "node",
			"command": "node ./test.js",
			"port": 5864
		}
	]
}

running separate command in bash:

$ node --inspect=localhost:5864 ./test.js 

problem is after running bash command node outputs and exits. if i run:

$ node --inspect-brk --inspect=localhost:5864 ./test.js

It is not continuous workflow, just a debugging session where the variables get evaluated inline (like quokka) of the emacs buffer test.js
Am I missing something here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant