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

Moving over to proper debuggable configs #14

Closed
wants to merge 2 commits into from

Conversation

Garethp
Copy link
Contributor

@Garethp Garethp commented Aug 19, 2020

Test Before Merging

This is a big change, try it before you merge

What it does

  • Let's you debug the Typescript without the TsDebug Action
  • Doesn't create a node RunConfig for the debug
  • Gradle let's you test the plugin better

Using gradle is a big change. It will let you launch Webstorm with your plugin automatically. It also lets you put debug points in your plugin, so you don't have to use the log for info any more. Changing this line will let you specify what IDE to open it with

If you have questions, please ask

@bluelovers
Copy link
Owner

image

how to use?

@Garethp
Copy link
Contributor Author

Garethp commented Aug 21, 2020

Updated. See below:

build:
build

output:
output

Run:
Change this line to the directory of your webstorm

Then click
run

bluelovers added a commit that referenced this pull request Aug 21, 2020
bluelovers added a commit that referenced this pull request Aug 21, 2020
@bluelovers
Copy link
Owner

bluelovers commented Aug 22, 2020

image

with 2 by this pr, it start twice and debug point is not work

image

with 1 (old way)

image

bluelovers added a commit that referenced this pull request Aug 22, 2020
BREAKING CHANGE: remove envs2
bluelovers added a commit that referenced this pull request Aug 22, 2020
@Garethp
Copy link
Contributor Author

Garethp commented Aug 22, 2020

Only starts once for me. This is my build. Try it?
idea-run-typescript-2020.08.20.0.zip

first
second

@bluelovers
Copy link
Owner

bluelovers commented Aug 23, 2020

hmm use ur build, i still get twice

image


and somehow, my build and ur build all failed on ansistyle in my webstorm 2020.2

image

image

but work on idea 2019.3.5, 2020.2.1 rc

image

image


hmm but also work on sandbox of webstorm

image

@bluelovers
Copy link
Owner

i think code is merge into current master now, if see any miss , tell me xd

@bluelovers bluelovers closed this Aug 23, 2020
@bluelovers
Copy link
Owner

bluelovers commented Aug 23, 2020

also add hidden feature

when add nodejs.console.use.terminal into env var will overwrite ide registry

val v = runConfig.runSettings.envData.envs.get("nodejs.console.use.terminal")

@bluelovers
Copy link
Owner

@Garethp twice bug is from esm-ts-node

bluelovers added a commit that referenced this pull request Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants